fixing BigTIFF's header expectations
As defined in http://www.awaresystems.be/imaging/tiff/bigtiff.html
This commit is contained in:
parent
fc29e0a90c
commit
b668cf335e
@ -386,7 +386,7 @@ int main(int argc,const char* argv[])
|
||||
;
|
||||
uint16_t magic = byteSwap2(buff,2,bSwap);
|
||||
offset = byteSwap4(buff,4,bSwap);
|
||||
if ( buff[0] != buff[1] || (buff[0] != 'I' && buff[0] != 'M') || magic != 42 ) {
|
||||
if ( buff[0] != buff[1] || (buff[0] != 'I' && buff[0] != 'M') || magic != 43 ) {
|
||||
std::cerr << "bSwap = " << bSwap << std::endl;
|
||||
std::cerr << "magic = " << magic << std::endl;
|
||||
std::cerr << "offset = " << offset << std::endl;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user