I'm not sure if this is the right place to put this.
Here goes: I would like to convert a html page to an image.
I've done googling. Most of the findings led me to downloading sharewares.
As this project has a tight budget, I reckon I should build something to do just that.
However, I'm quite lost at the moment.
What kind of technology/algorithm should I use ?

Initially I thought of doing it in Java, loading the html in JEditorPane and then capturing the content into a BufferedImage object.
However, due to the fact that JEditorPane only supports up to HTML3.2, the output is not quite as desired.
Is there any other alternatives to this problem ?

If I am to go to "Screen Capture", how do I go about capturing the whole HTML, instead of capturing what you see on-screen ?
Also, can screen capture be done in the background, which means, no browser will be brought up ?

Thanks in advance.

Recommended Answers

All 3 Replies

U can use a pdf printer...

this may be what you're after.

you need firefox and java installed.

Thanks a lot guys. I found a simpler solution. Check out IEcapt.

@pty, that's a nice one. Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.