| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2010.03.31 12:44 "Re: Tiff2pdf-problem with pages in the wrong order.", by Lee HowardMarcus Hermansson wrote: > To make myself short. > Running tiff2pdf.exe without modifications, "tiff2pdf.exe -o test.pdf > test36p.tif", on my WinXP SP3. > This generates a pdf containing all 36 pages, but in a wierd order. > In the original file has the pagenumber printed in the top righthand > corner. and the order of the pages is as follows: > 3,4,5,6,7,8,9,10,11, 3,4,5,6,7,8,9,10,11, 3,4,5,6,7,8,9,10,11 > 3,4,5,6,7,8,9,10,11 > > the pdf is ordered > 4,3,5,10,11,6,7,4,8,5,9,10,11,4,5,3,10,11,4,6,5,7,10,8,9,11,3,6,7,8,9,3,6,7,8,9 > > Some other files I've ran produce the same error, some other don't. It > bugs me to not know why! > > The tif-file is located here: http://dl.dropbox.com/u/5362998/test36p.tif > The pdf that I produce can be downloaded here: > http://dl.dropbox.com/u/5362998/test.pdf > both are around 1,5MB. > > Does this happen to everyone? What can I do about it? Your TIFF is confusing. And for what it's worth, the same thing happens with tiff2pdf on Linux. If you look at tiffinfo output run against test36p.tif you'll see the matter: TIFF Directory at offset 0x9db6 (40374) Subfile Type: (0 = 0x0) Image Width: 2486 Image Length: 3511 Resolution: 300, 300 pixels/inch Bits/Sample: 1 Compression Scheme: CCITT Group 4 Photometric Interpretation: min-is-white FillOrder: msb-to-lsb Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 3511 Min Sample Value: 0 Max Sample Value: 1 Planar Configuration: single image plane TIFF Directory at offset 0x138d2 (80082) Subfile Type: multi-page document (2 = 0x2) Image Width: 2480 Image Length: 3507 Resolution: 300, 300 pixels/inch Bits/Sample: 1 Compression Scheme: CCITT Group 4 Photometric Interpretation: min-is-white FillOrder: msb-to-lsb Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 3507 Planar Configuration: single image plane Page Number: 0-0 Group 4 Options: (0 = 0x0) Some pages have "PageNumber" tags in them, and some of them don't. And those pages that do have PageNumber tags in them contain PageNumber values that do not correspond to the TIFF Directory sequence number. Thanks, Lee. |
|||||||