[Libtiff-Tools / The Gimp] Unable to create PDF from TIF with altered color-palette
by Michael Uplawski from LinuxQuestions.org on (#5MSXA)
Howdy.
What I did in the past:
Code:fletcher@bounty:~$ tiffcp [path]/*.tif [path]/multilayer.tifCode:fletcher@bounty:~$ tiff2pdf -z multilayer.tif -o new.pdfIf I am not erring, this worked about each time as I intended.
Recently I have reduced the color palette of some tiffs, as the resulting PDFs would have been too big to serve as email-attachments. With color-palettes other than the original RGB" (Gimp), the multilayer tiff-file is still okay, but the generated PDF is broken.
I used JPEG-compression instead of Zip (option -j instead of -z) and got a PDF file with a correct first page, but the others just empty and even without vertical extension.
I do now continue to create the multilayer Tiff-image with tiffcp, but use The Gimp to export to PDF.
This appears to work alright but the workflow is a bit rugged".
Can you think of a reason for my repeated failures with different pictures and color-palettes? Black & White (line-art", 1bit) is also concerned and I failed in the same way with a grayscale-image.
Gimp v. 2.10.22
libtiff-tools 4.2.0.1


What I did in the past:
Code:fletcher@bounty:~$ tiffcp [path]/*.tif [path]/multilayer.tifCode:fletcher@bounty:~$ tiff2pdf -z multilayer.tif -o new.pdfIf I am not erring, this worked about each time as I intended.
Recently I have reduced the color palette of some tiffs, as the resulting PDFs would have been too big to serve as email-attachments. With color-palettes other than the original RGB" (Gimp), the multilayer tiff-file is still okay, but the generated PDF is broken.
I used JPEG-compression instead of Zip (option -j instead of -z) and got a PDF file with a correct first page, but the others just empty and even without vertical extension.
I do now continue to create the multilayer Tiff-image with tiffcp, but use The Gimp to export to PDF.
This appears to work alright but the workflow is a bit rugged".
Can you think of a reason for my repeated failures with different pictures and color-palettes? Black & White (line-art", 1bit) is also concerned and I failed in the same way with a grayscale-image.
Gimp v. 2.10.22
libtiff-tools 4.2.0.1