Page 1 of 1

possible bug tiff not allowing MSB endian

Posted: 2017-08-03T12:28:24-07:00
by fmw42
In both IM 6.9.9.4 Q16 and IM 7.0.6.4 Q16 HDRI,

That would appear to be a bug. I tried also setting -compress none, but no difference.

Code: Select all

convert logo: logo: logo: -endian MSB logo.tif
or

Code: Select all

magick logo: logo: logo: -endian MSB logo.tif

Image: logo.tif
Format: TIFF (Tagged Image File Format)
Mime type: image/tiff
Class: PseudoClass
Geometry: 640x480+0+0
Units: PixelsPerInch
Type: Palette
Base type: Palette
Endianess: LSB
Colorspace: sRGB
...
Properties:
date:create: 2017-08-03T12:23:05-07:00
date:modify: 2017-08-03T12:23:05-07:00
signature: 5c701306a9a985a0c93c8d11a1e761d7f8637577697fc60d7189b221388f8edf
tiff:alpha: unspecified
tiff:endian: lsb
tiff:photometric: palette
tiff:rows-per-strip: 480
tiff:subfiletype: PAGE

Re: possible bug tiff not allowing MSB endian

Posted: 2017-08-03T15:45:04-07:00
by magick
See https://www.imagemagick.org/script/formats.php: Set the fill order with -define tiff:fill-order=msb|lsb. Set the TIFF endianess with -define tiff:endian=msb|lsb.

Re: possible bug tiff not allowing MSB endian

Posted: 2017-08-03T16:11:08-07:00
by fmw42
Thanks. Sorry for the oversight in checking the TIFF defines.