I am using python's reportlab to create a pdf (of a conference name tag) and I want to be able to have an image preview on the registration form web page.

convert foo.pdf foo.png does what I need. What I am looking for is a good API to that, or anything similar.

Ideally, it won't require a file system file (easier on the web server.)

Here is what the code looks like that generates the pdf:

    buffer = StringIO()
    rw = dReportWriter(OutputFile=buffer, ReportFormFile=xmlfile, Cursor=ds)
    rw.write()
    pdf = buffer.getvalue()
    return pdf

all suggestions welcome.

Carl K
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to