possible bug tiff not allowing MSB endian

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug tiff not allowing MSB endian

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug tiff not allowing MSB endian

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug tiff not allowing MSB endian

Post by fmw42 »

Thanks. Sorry for the oversight in checking the TIFF defines.
Post Reply