| 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 |
Thread2008.04.29 12:41 "TIFF split & merge", by Andrew WanI successfully wrote a C program to split & merge 2 large tiff files (where one of the original tiff file contains odd pages and the other contains even pages). Tools I used were tiffsplit & tiffcp. The resulting output tiff file is quite large, over 300MB, but at least the directories are sorted in order (page 0, page 1, page 2, etc.). Now I want to shrink this to a reasonable size. I tried using tiff2pdf on the output.tif file and guess what. It created the PDF pages in date order... so now am back to the original problem (page 0, page 2, page 4, page 6.... page 1, page 3, page 5, page 7...). Is there any way to make tiff2pdf create the PDF in directory order? Second query is: using the splitted tif files I thought to tiffcp convert each tiff into jpeg. So I used tiffcp.exe -c jpeg:r 000.tif 000.jpg but I get this message: JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG.000.jpg: Error, can't write strip 0. Can someone enlighten me in what this means and how to solve this? Am a newbie to this jpeg/tiff inner-tech. Cheers _________________________________________________________________ Make i'm yours. Create a custom banner to support your cause. http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=TXT_TAGHM_MSN_Make_IM_Yours |
|||||||