[cairo] eps file

Carl Worth cworth at cworth.org
Tue May 13 12:17:43 PDT 2008


On Tue, 13 May 2008 22:49:56 +0930, Adrian Johnson wrote:
> Paolo Chiodi wrote:
> > Hi all, i'm new to this mailing list and to cairo graphics.
> > I need to develop an application that creates a pdf by importing some
> > vector images from eps file.
> > I've tried some tools but none succesfully (usually the tools i've
> > tried need to rasterize the image, others generate bad page layout).
> > My last idea was to use cairo with pdf surface to create my pdf
> > document. then my question is: can cairo imports eps image? does it
> > rasterize the image or keep it vector-based?
>
> The way to do this to first convert the EPS file to PDF using
> Ghostscript then render the PDF using poppler. When using poppler to
> create output from any of the cairo vector backends such as PS and PDF
> the vectors will not be rasterized.

This is a fine workaround for now.

Meanwhile, while at LGM, Ralph Giles and Behdad Esfahbod worked
together to teach ghostscript how to render through cairo. So that
should soon give us a much more direct way to get from PostScript/EPS
to cairo.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080513/7efe066a/attachment.pgp 


More information about the cairo mailing list