Bug 34003 - patch to add a pdftops -binary option for binary output
Summary: patch to add a pdftops -binary option for binary output
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 12:45 UTC by William Bader
Modified: 2011-02-08 12:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch to add a pdftops -binary option for binary output (14.08 KB, patch)
2011-02-07 12:45 UTC, William Bader
Details | Splinter Review

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.