Bug 99248 - tiffsplit does not obey endian status of original file
Summary: tiffsplit does not obey endian status of original file
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libtiff
Version: 9
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-07-16 16:17 UTC by Johnathon Walls
Modified: 2007-04-18 16:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-05-19 20:04:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Johnathon Walls 2003-07-16 16:17:15 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701

Description of problem:
Hello,

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
incorrect.



Version-Release number of selected component (if applicable):
libtiff-3.5.7-11

How reproducible:
Always

Steps to Reproduce:
1. Get a multipage big-endian tiff file
2. Run tiffsplit on it from a little-endian machine.
3.
    

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
little-endian flag.

Additional info:

I have checked the source code from libtiff.org, and this bug is present even in
v3.6beta.

Comment 1 Matthias Clasen 2004-05-19 20:04:01 UTC
Filed upstream: 
http://bugzilla.remotesensing.org/show_bug.cgi?id=574


Note You need to log in before you can comment on or make changes to this bug.