On Apr 23, 6:30 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> I need to be able to generate a PDF report which consists
> mostly of vector images (which I can generate as encapsulated
> Postscript, PDF, or SVG).  What I need is a way to combine
> these figures into a single PDF document.  Right now the
> reports consist entire of these figures, so I just write the
> figures out to temp files and then use os.system() to run
> ghostscript with appropriate options to combine them into a
> single PDF file.
>
> I'd like to be able to add some text and/or place the figures
> in a manner other than one per page in the output document.
>
> I've looked at ReportLab's documentation, but although it
> appears to be able to use bitmap images (e.g jpeg) it doesn't
> appear to be able to use vector images (EPS/PDF/SVG).
>
> Is there a PDF generation library that can place EPS or
> PDF figures on a page?

If you are familiar with LaTeX, an easy solution would be to
automatically generate a LaTeX document that includes your images.
This also allows you to add captions, scale the images and much more.
You can then run the generated document through pdflatex and you have
a nice looking report.

Regards,
Kjell Magne Fauske
http://www.fauskes.net

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to