[cairo] Pycairo: Access cairo_surface_set_mime_data through pycairo

d74n5pohf9 at ipharzle.e4ward.com d74n5pohf9 at ipharzle.e4ward.com
Mon Aug 6 18:49:27 PDT 2012


On Fri, 2012-08-03 at 12:00 -0700, cairo-request at cairographics.org
wrote:
> 
> Hi everybody,
> 
> The pdf files I'm generating with pycairo are rather large. Is it 
> possible to expose cairo_surface_set_mime_data through pycairo, so
> the 
> jpeg data can be embedded instead of converted into png?
> 
> Cheers
> Manuel Barkhau
> 
> -- 
> Next Tuesday GmbH
> Hanauer Landstrasse 161-173
> 60314 Frankfurt am Main
> Germany
> 
> E-Mail: mb at nexttuesday.de <mailto:mb at nexttuesday.de>
> Fon: +49 69 9055528-0
> Fax: +49 69 9055528-9
> Internet: http://www.nexttuesday.de
> 
> Gesch?ftsf?hrung: Markus Repetschnig, Martin Einsporn, Thomas Einsporn
> Handelsregister Frankfurt: HRB 53289 

Hi Manuel,

The function should appear in the next version of pycairo. You could
open a bug report if you want to make sure it is not forgotten, and
submit a patch if you are really keen.

Regards,
Steve


 


More information about the cairo mailing list