Bug 6558

Summary: add flate compression to PDF generation
Product: cairo Reporter: Pablo Rodríguez <freedesktop>
Component: pdf backendAssignee: Kristian Høgsberg <krh>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: enhancement    
Priority: highest    
Version: 1.1.1   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pablo Rodríguez 2006-04-11 19:15:29 UTC
I have downloaded two cairo generated PDF documents
(http://cworth.org/~cworth/papers/cairo_ddc2005/cairo_ddc2005.pdf and
http://cworth.org/~cworth/papers/cairo_lca2005/cairo_lca2005.pdf).

Their original filesizes are 5.18MB and 3.08MB. Compressing them with the Flate
algorithm (patent-free and with a higher compression rate for vectors than LZW),
the resulting filesizes are 1.08MB and 678KB.

I think the Flate compression should be enabled for all PDF generation with cairo.

(I used http://multivalent.sf.net for the Flate compression, but remember that
Multivalent tools are not released under the GNU GPL, unlike the tool itself.
Comment 1 Adrian Johnson 2007-03-28 01:23:05 UTC
Cairo 1.4.0 and later supports Flate compression in the generated PDF.

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.