File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT / JFace and the fly likes rendering html into image Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "rendering html into image" Watch "rendering html into image" New topic
Author

rendering html into image

viju vi
Greenhorn

Joined: Nov 15, 2007
Posts: 7
Does anyone have any idea on how to render html page into an thumbnail image... please a little help will be helpfull.


"No problem can be solved from the same level of consciousness that created it." Albert Einstein
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Use a component that can render HTML - for example a JEditorPane. Render that component into a BufferedImage. Scale the BufferedImage. That's about it.

Does that help?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
 
subject: rendering html into image
 
Threads others viewed
How Display image in a JSP that retrieved from a database?
IE Vs FirFox , image upload
Dynamic Image Creation
dynamic data on image?
WAR Deployment - Images not loading
IntelliJ Java IDE