Re: convert pdf to png

2007-12-28 Thread Carl K
Diez B. Roggisch wrote: >> Seeing these options, I think it is much better to serve the PDFs >> directly, it's very simple, and very efficient on the server. If >> you're afraid that not everyone have PDF readers, direct them to >> Adobe's site or serve the installation files on the server. The >>

Re: convert pdf to png

2007-12-28 Thread Diez B. Roggisch
> Seeing these options, I think it is much better to serve the PDFs > directly, it's very simple, and very efficient on the server. If > you're afraid that not everyone have PDF readers, direct them to > Adobe's site or serve the installation files on the server. The > installation for the reader i

Re: convert pdf to png

2007-12-27 Thread Lie
On Dec 27, 7:33 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > Good point.  Not that I am willing to risk it (just using the pdf is not > > such a bad option)  but I am wondering if it would make sense to create > > a ramdrive for something like this.  if memory is needed, swap would > > hap

Re: convert pdf to png

2007-12-27 Thread Diez B. Roggisch
> > Good point. Not that I am willing to risk it (just using the pdf is not > such a bad option) but I am wondering if it would make sense to create > a ramdrive for something like this. if memory is needed, swap would > happen, which should be better than creating files. > You mean perman

Re: convert pdf to png

2007-12-26 Thread Piet van Oostrum
> Carl K <[EMAIL PROTECTED]> (CK) wrote: >CK> Here is what the code looks like that generates the pdf: >CK> buffer = StringIO() >CK> rw = dReportWriter(OutputFile=buffer, ReportFormFile=xmlfile, >Cursor=ds) >CK> rw.write() >CK> pdf = buffer.getvalue() >CK> return pdf You

Re: convert pdf to png

2007-12-26 Thread Carl K
Grant Edwards wrote: > On 2007-12-25, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >> Carl K schrieb: >>> Grant Edwards wrote: On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >> If it is a multi page pdf Imagemagick will do: >> >> convert file.pdf page-%03d.png > I need py

Re: convert pdf to png

2007-12-26 Thread Boris Borcic
Carl K wrote: > Rob Wolfe wrote: >> Carl K <[EMAIL PROTECTED]> writes: >> >>> I need to take the take the pdf output from reportlab and create a >>> preview image for a web page. so png or something. I am sure >>> ghostscript will be involved. I am guessing PIL or ImageMagic ? >>> >>> all sugesti

Re: convert pdf to png

2007-12-26 Thread Diez B. Roggisch
Carl K schrieb: > Diez B. Roggisch wrote: >> Carl K schrieb: >>> Grant Edwards wrote: On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >> If it is a multi page pdf Imagemagick will do: >> >> convert file.pdf page-%03d.png > I need python code to do this. It is going to be

Re: convert pdf to png

2007-12-25 Thread Andrew MacIntyre
Carl K wrote: > Andrew MacIntyre wrote: >> Grant Edwards wrote: >>> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >>> > If it is a multi page pdf Imagemagick will do: > > convert file.pdf page-%03d.png I need python code to do this. It is going to be run on a someone else'

Re: convert pdf to png

2007-12-25 Thread Grant Edwards
On 2007-12-25, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: > Carl K schrieb: >> Grant Edwards wrote: >>> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >>> > If it is a multi page pdf Imagemagick will do: > > convert file.pdf page-%03d.png I need python code to do this. It is go

Re: convert pdf to png

2007-12-25 Thread Carl K
Rob Wolfe wrote: > Carl K <[EMAIL PROTECTED]> writes: > >> I need to take the take the pdf output from reportlab and create a >> preview image for a web page. so png or something. I am sure >> ghostscript will be involved. I am guessing PIL or ImageMagic ? >> >> all sugestions welcome. > > Did

Re: convert pdf to png

2007-12-25 Thread Carl K
Diez B. Roggisch wrote: > Carl K schrieb: >> Grant Edwards wrote: >>> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >>> > If it is a multi page pdf Imagemagick will do: > > convert file.pdf page-%03d.png I need python code to do this. It is going to be run on a someone els

Re: convert pdf to png

2007-12-25 Thread Rob Wolfe
Carl K <[EMAIL PROTECTED]> writes: > I need to take the take the pdf output from reportlab and create a > preview image for a web page. so png or something. I am sure > ghostscript will be involved. I am guessing PIL or ImageMagic ? > > all sugestions welcome. Did you try to use `reportPM` from

Re: convert pdf to png

2007-12-25 Thread Diez B. Roggisch
Carl K schrieb: > Grant Edwards wrote: >> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >> If it is a multi page pdf Imagemagick will do: convert file.pdf page-%03d.png >>> I need python code to do this. It is going to be run on a >>> someone else's shared host web server, securi

Re: convert pdf to png

2007-12-24 Thread Carl K
Jaap Spies wrote: > Carl K wrote: >> Grant Edwards wrote: >>> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >>> > If it is a multi page pdf Imagemagick will do: > > convert file.pdf page-%03d.png I need python code to do this. It is going to be run on a someone else's shar

Re: convert pdf to png

2007-12-24 Thread Carl K
Andrew MacIntyre wrote: > Grant Edwards wrote: >> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >> If it is a multi page pdf Imagemagick will do: convert file.pdf page-%03d.png >>> I need python code to do this. It is going to be run on a >>> someone else's shared host web server

Re: convert pdf to png

2007-12-24 Thread Andrew MacIntyre
Grant Edwards wrote: > On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: > >>> If it is a multi page pdf Imagemagick will do: >>> >>> convert file.pdf page-%03d.png >> I need python code to do this. It is going to be run on a >> someone else's shared host web server, security and >> performance is

Re: convert pdf to png

2007-12-24 Thread Jaap Spies
Carl K wrote: > Grant Edwards wrote: >> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >> If it is a multi page pdf Imagemagick will do: convert file.pdf page-%03d.png >>> I need python code to do this. It is going to be run on a >>> someone else's shared host web server, security

Re: convert pdf to png

2007-12-24 Thread Carl K
Grant Edwards wrote: > On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: > >>> If it is a multi page pdf Imagemagick will do: >>> >>> convert file.pdf page-%03d.png >> I need python code to do this. It is going to be run on a >> someone else's shared host web server, security and >> performance is

Re: convert pdf to png

2007-12-24 Thread Grant Edwards
On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >> If it is a multi page pdf Imagemagick will do: >> >> convert file.pdf page-%03d.png > > I need python code to do this. It is going to be run on a > someone else's shared host web server, security and > performance is an issue. So I would rathe

Re: convert pdf to png

2007-12-24 Thread Carl K
Jaap Spies wrote: > Carl K wrote: >> I need to take the take the pdf output from reportlab and create a >> preview image for a web page. so png or something. I am sure >> ghostscript will be involved. I am guessing PIL or ImageMagic ? >> >> all sugestions welcome. >> > > If it is a multi page

Re: convert pdf to png

2007-12-24 Thread Jaap Spies
Carl K wrote: > I need to take the take the pdf output from reportlab and create a > preview image for a web page. so png or something. I am sure > ghostscript will be involved. I am guessing PIL or ImageMagic ? > > all sugestions welcome. > If it is a multi page pdf Imagemagick will do: co

Re: convert pdf to png

2007-12-24 Thread Ramsey Nasser
On Dec 24, 2007 7:53 AM, Carl K <[EMAIL PROTECTED]> wrote: > I need to take the take the pdf output from reportlab and create a preview > image > for a web page. so png or something. I am sure ghostscript will be involved. > I am guessing PIL or ImageMagic ? > > all sugestions welcome. > > Carl

convert pdf to png

2007-12-23 Thread Carl K
I need to take the take the pdf output from reportlab and create a preview image for a web page. so png or something. I am sure ghostscript will be involved. I am guessing PIL or ImageMagic ? all sugestions welcome. Carl K -- http://mail.python.org/mailman/listinfo/python-list