[cairo] Re: Embeding JPG in PDF

Andrew McRae amcrae at employees.org
Wed Jan 10 16:32:11 PST 2007


On Wed, 2007-01-10 at 18:49 -0500, Behdad Esfahbod wrote:
> On Wed, 2007-01-10 at 18:07 -0500, Andrew McRae wrote:
> > 
> > Getting higher resolution images into the PDF side has been
> > brought up before - my previous patch to allow fallback
> > resolution to be used for PDF image resolution was rejected,
> > but I still don't see how the alternatives can give you better
> > than 72 dpi images in PDF? 
> 
> The way it's supposed to work is using cairo_scale().  If it doesn't,
> it's a bug.

But the PDF backend still only stores the image in 72dpi, so
it seems what happens is that if you use cairo_scale, this will
simply scale the image and lose the resolution?
If you provide some sample code to show how to do it,
I would be most appreciative...
Cheers,
AMc



More information about the cairo mailing list