AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2011.02.05 19:49 "[Tiff] Converting single-page TIFFs to multi-page TIFF or PDF", by John Brown
2011.02.05 23:03 "Re: [Tiff] Converting single-page TIFFs to multi-page TIFF or PDF", by Bob Friesenhahn
2011.02.06 01:50 "Re: [Tiff] Converting single-page TIFFs to multi-page TIFF or PDF", by John Brown
2011.02.12 13:16 "Re: [Tiff] Converting single-page TIFFs to multi-page TIFF or PDF", by John Brown
2011.02.12 19:03 "Re: [Tiff] JPEG issues with tiffcp", by Richard Nolde
2011.02.12 21:13 "Re: [Tiff] JPEG issues with tiffcp", by John Brown
2011.02.12 22:51 "Re: [Tiff] JPEG issues with tiffcp", by Bob Friesenhahn
2011.02.13 08:39 "Re: [Tiff] JPEG issues with tiffcp", by
2011.02.07 12:22 "Re: [Tiff] Converting single-page TIFFs to multi-page TIFF or PDF", by John Brown
2011.02.07 13:47 "Re: [Tiff] Converting single-page TIFFs to multi-page TIFF or PDF", by John Brown

2011.02.05 19:49 "[Tiff] Converting single-page TIFFs to multi-page TIFF or PDF", by John Brown

Hello All,

My plan was simply to build a list of pages that belong to one document and then:

$tiffcp page1.tif page2.tif... pageN.tif doc.tif $tiff2pdf -o doc.pdf doc.tif

If any of the TIFFs is an OJPEG TIFF, the first command fails with a long message including: "OJPEGSetupEncode: OJPEG encoding not supported; use new-style JPEG compression instead."

The uncompressed TIFF (via tiffcp -c none) can be converted to PDF by tiff2pdf without any warnings or errors. However, tiffcp cannot compress the uncompressed TIFF that it created:

$ tiffcp -c jpeg:75 test-uncompressed.tif test-jpg.tif

JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG. test-jpg.tif: Error, can't write strip 0.

  1. Why does tiff2pdf succeed but tiffcp fail? Is it a bug?
  2. My specific need right now is to produce PDF files, so I

   am OK, other than the need to run tiffinfo to find out if    the image uses OJPEG compression. However, if I needed to    produce multi-page TIFF instead of PDF, what would be my

   options (besides using Ghostscript to convert the PDF    back to TIFF)?

Regards,

Alias John Brown.