By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,907 Members | 2,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,907 IT Pros & Developers. It's quick & easy.

html to image or html to postcript to image

P: n/a
i want to convert html to image (format of the image does not matter).
is it possible in python? or mayby it is possible to convert html first
to the postscript, and then postscript to image?
Jul 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
I've written several applications to do just this.
I do this using Python Imaging Library. It has
methods for writing text onto an image that gets
rendered as graphics. You can then save as any
format you like (e.g. JPG, TIFF, PDF, etc.).

HTH,
Larry Bates
Syscon, Inc.
"Lukasz Indyk" <dy***@mat.uni.torun.pl> wrote in message
news:c8**********@atlantis.news.tpi.pl...
i want to convert html to image (format of the image does not matter).
is it possible in python? or mayby it is possible to convert html first
to the postscript, and then postscript to image?

Jul 18 '05 #2

P: n/a
i'm sorry, i didn't make myself clear enough. once again then: i have
html defining website, and i want to generate image with this website
(without displaying it in browser window, doing print screen etc.)
Jul 18 '05 #3

P: n/a
Python used pdfTEX to generate their .PDF manual from
their HTML manual. It located at:

http://www.tug.org/applications/pdftex/

-Larry
"Lukasz Indyk" <dy***@mat.uni.torun.pl> wrote in message
news:c8*********@atlantis.news.tpi.pl...
i'm sorry, i didn't make myself clear enough. once again then: i have
html defining website, and i want to generate image with this website
(without displaying it in browser window, doing print screen etc.)

Jul 18 '05 #4

P: n/a
Larry Bates wrote:
Python used pdfTEX to generate their .PDF manual from
their HTML manual. It located at:


Thats unlikely - they used pdftex to generate the pdf from latex, and
whatever to generate html from latex. So it won't help the OP.

--
Regards,

Diez B. Roggisch
Jul 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.