473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

html to image or html to postcript to image

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
4 3925
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Gregory | last post by:
Hello, I'm trying to do the above in order to process an image and return the result to an html image control. It fails and my key suspects are either the variable that I'm passing in -...
1
by: no one | last post by:
I have been searching various boards trying to figure out how to generate an image along with other html. I intend to put the image in a table, but for now I am just having problem getting the...
0
by: SteveJ | last post by:
All, Can someone help me solve the next step. First of all let me say I'm new to php. I pieced the following code together from samples I found on the net and a book I bought called PHP...
9
by: Robby Bankston | last post by:
I'm working on some code and am running into brick walls. I'm trying to write out Javascript with Javascript and I've read the clj Meta FAQ and didn't see the answer, read many similar posts (with...
1
by: David Hearn | last post by:
I have the need to display some images that are stored on my server in one of my ASP.NET WebForms. EPS images are not supported so I was wondering if there is a way to convert the image temporarily...
7
by: Ubantu Rococo | last post by:
Hi all, Sorry for this stupid question, but I am having trouble mixing imagecopy etc. with HTML. What I am trying to do is copy an image, and then obtain co-ordinates from a database which will...
4
by: najd_abdmouleh | last post by:
Salut, j'ai besoin d'un programme en C++ qui convertit un fichier postscript en fichier PDF sans utiliser ghostscript. Merci d'avance.
6
by: lilcech | last post by:
How can i cobine my image with a html file so i only have one file. The image is used inside the html file so if i delete it or move it, then it wont show up in the html file. :)
7
by: Xah Lee | last post by:
Summary: when encountering ex as a unit in css, FireFox (and iCab) did not take into account the font-family. Detail: http://xahlee.org/js/ff_pre_ex.html Xah xah@xahlee.org ∑...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.