Creating preview images of files in java
How I can convert the first page of a file into an image?
My application allows users to upload files. To see it, as of now, users have
to download and see, which is hard to do.
So I need to create a preview image
of the uploaded file which can be of any type(PDF, doc, txt, xls, ppt, etc.).
How can I do this? I need to show only the first page of the file in the image.
For image files which are uploaded, I am showing a thumb nail size preview,
but for other file types I have to get a way. How can I do this?
Expecting some help,
Thanks and regards,