converting java to jpeg

M

mauro

I have to programmatically convert an HTML file to a jpeg one (no
commercial products).
Any suggestions will be very appreciated...
Thanks to all
 
P

patrick

I have to programmatically convert an HTML file to a jpeg
one (no commercial products).
Any suggestions will be very appreciated...

You could make a screen-capture with ... :

BufferedImage image =
new java.awt.Robot().createScreenCapture(new Rectangle(
new Point(0,0), java.awt.Toolkit.getScreenSize()));

.... and then save the obtained image as jpeg.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top