10

How to take image(screenshot) of first page of any file

view full story
linux-howto

http://www.daniweb.com – Hi all, I am doing a project work and I need to take the image(just as screenshot) of the first page of any file so that contents of that first page can be viewed by that image . And finally i want to set that image as an icon for that file. I have used "java.awt.Robot" class for taking desktop screenshot but I am not able to find out the way how we can take image of first page of any file by just giving the url of that file even if file is closed. Can any one help me? Waiting for your kind reply.......... Thanks in advance!! (General)