Bug 34003

Summary: patch to add a pdftops -binary option for binary output
Product: poppler Reporter: William Bader <williambader>
Component: generalAssignee: 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 add a pdftops -binary option for binary output

Description William Bader 2011-02-07 12:45:42 UTC
Created attachment 43042 [details] [review]
patch to add a pdftops -binary option for binary output

This patch adds a -binary option to pdftops to write binary PostScript with -level1 and -level1sep.  By default, pdftops writes hex-encoded data in Level 1 PostScript.  Binary data is non-standard in Level 1 PostScript but reduces the file size and can be useful when Level 1 PostScript is required only for its restricted use of PostScript operators.
Some days I need to run as many as 1,000 PDFs through pdftops with -level1sep, and this change has the potential to decrease the disk usage by 50%.  I need Level 1 so that I can do software color separation, but my printers support Level 3 and can handle binary data.
Comment 1 Albert Astals Cid 2011-02-08 11:53:31 UTC
Will be in poppler 0.18
Comment 2 William Bader 2011-02-08 12:08:05 UTC
Thanks.  It will make a difference in my disk usage.

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.