Red Hat Bugzilla – Bug 99248
tiffsplit does not obey endian status of original file
Last modified: 2007-04-18 12:55:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
Description of problem:
I am using tiffsplit from libtiff to split a multipage tiff file into its
components. The source file is in big-endian format.
Running tiffsplit creates files with the little-endian format flag, but the data
is still in big-endian format. In other words, only the flag has changed. Thus
viewing this in display (ImageMagick) or another viewer results in data that is
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Get a multipage big-endian tiff file
2. Run tiffsplit on it from a little-endian machine.
Actual Results: The new files have the little-endian file set, but the data is
stored in big-endian format.
Expected Results: The new files should either have the big-endian flag set and
be in big-endian format, or should be in little-endian format with the
I have checked the source code from libtiff.org, and this bug is present even in