Article 5MSXA [Libtiff-Tools / The Gimp] Unable to create PDF from TIF with altered color-palette

[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.1latest?d=yIl2AUoC8zA latest?i=vML8tiL9puQ:enF9MVTBLTY:F7zBnMy latest?i=vML8tiL9puQ:enF9MVTBLTY:V_sGLiP latest?d=qj6IDK7rITs latest?i=vML8tiL9puQ:enF9MVTBLTY:gIN9vFwvML8tiL9puQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments