I seem to get incorrect Endianess value for determining what byte order was used on my sample files.
sample PC byte order
http://www.clipartof.com/images/free_ho ... le_pc.tiff
sample MAC byte order
http://www.clipartof.com/images/free_ho ... e_mac.tiff
One saved with PC byte order and the other with MAC byte order but IM detects both Endianess value - MSB.
posted on Users section - viewtopic.php?f=1&t=16514
PC or MAC byte order bug
Re: PC or MAC byte order bug
TIFF has two types of endianess, the file format, and the pixel fill order. ImageMagick only supports one type of endianess and we set it with the TIFF FILLORDER tag. We'll add a TIFF property to report the TIFF image endianess in the next point release of ImageMagick.
Re: PC or MAC byte order bug
looking forward for the next release.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: PC or MAC byte order bug
This now works in IM 6.6.2-10 Q16 Mac OSX Tiger.
See the properties section:
identify -verbose 0180-1006-2814-4729_sample_pc.tiff
...
tiff:endian: lsb
...
identify -verbose 0180-1006-2814-4937_sample_mac.tiff
...
tiff:endian: msb
...
See the properties section:
identify -verbose 0180-1006-2814-4729_sample_pc.tiff
...
tiff:endian: lsb
...
identify -verbose 0180-1006-2814-4937_sample_mac.tiff
...
tiff:endian: msb
...
Re: PC or MAC byte order bug
Works as it should, thanks guys.