diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-03-27 02:39:38 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-03-27 02:39:38 +0000 |
commit | 058e69cba4686a7aa36f3fbaf67d82df0e067386 (patch) | |
tree | 7097b677f31e8be841219e56c38f6d9aec56706b | |
parent | 3a943806c36f707ccd11432dccb3ddc3f397cf7b (diff) | |
download | netpbm-mirror-058e69cba4686a7aa36f3fbaf67d82df0e067386.tar.gz netpbm-mirror-058e69cba4686a7aa36f3fbaf67d82df0e067386.tar.xz netpbm-mirror-058e69cba4686a7aa36f3fbaf67d82df0e067386.zip |
fix orientation problem on big-endian machines
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@864 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/tifftopnm.c | 2 | ||||
-rw-r--r-- | doc/HISTORY | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/converter/other/tifftopnm.c b/converter/other/tifftopnm.c index d319e2e3..fe0de2d7 100644 --- a/converter/other/tifftopnm.c +++ b/converter/other/tifftopnm.c @@ -236,7 +236,7 @@ getTiffDimensions(TIFF * const tiffP, int ok; unsigned int width, length; - unsigned int tiffOrientation; + unsigned short tiffOrientation; unsigned short orientation; int present; diff --git a/doc/HISTORY b/doc/HISTORY index 0a279043..ad45de46 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -24,6 +24,8 @@ not yet BJH Release 10.46.00 pnmcut: finally make it just an alias of pamcut, which obsoleted it in 9.20. + tifftopnm: fix orientation problem on big-endian machines. + pnmcrop: various fixes. g3topbm: fix array bound violation. Introduced in 10.32. |