Bug 54896

Summary: pdftoppm -tiff -overprint fails with TiffWriter: Mode 6 not supported
Product: poppler Reporter: William Bader <williambader>
Component: splash backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: williambader
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch to fix the problem based on git source from 14 Sep 2012

Description William Bader 2012-09-14 00:34:07 UTC
Created attachment 67128 [details] [review]
patch to fix the problem based on git source from 14 Sep 2012

pdftoppm -tiff -overprint -singlefile x.pdf x
fails with
TiffWriter: Mode 6 not supported
because utils/pdftoppm.cc calls new SplashOutputDev() with mode splashModeDeviceN8 if jpegcmyk or overprint is set and goo/TiffWriter.cc does not handle that mode.
With the attached patch, pdftoppm produces a CMYK tiff.
William
Comment 1 Albert Astals Cid 2012-09-16 15:32:51 UTC
Subject is wrong and should say pdftoppm and not pdftops, right?
Comment 2 William Bader 2012-09-16 18:18:54 UTC
Yes, thanks, I just corrected the subject to say pdftoppm.
Comment 3 Albert Astals Cid 2012-09-16 22:04:20 UTC
Pushed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.