Hi All,
I'm working on a photo gallery application in JSP and have encountered a problem trying to create thumbnails from large photos.
Basically I'm trying to create thumbnail images on the fly(image file should not save to the hard disk) to serve up to the users via the JSP script.
Is it possible to do in jsp(with html)?
Does anybody has idea or source? Please let me know.
Thanks in Advance,
V. Prasath.
What is the source of the
What is the source of the image? Is it from DB?
If its in DB what is the format?
The image is saved in local
The image is saved in local disk not in DB...
quite useful
i have the same problem. been wanting to try that conversion but none of em' worked. thanks though.
Save the error rather than saving the image
you should save the big image and its comparison with smaller image and its error code like google does. when you enlage the image just add error code.
see image saving algorithm
Save the error rather than saving the image ..continue
See if you enlarge a small image you will see that image is destructed but there are some part that will be clear. so you will just need to add the error code of the larger image and this smaller image. Adding the error code will fix the image. this is how google saves the image. Google saves the smallest image and when you ask google to enlarge the image it just adds the error code of the image and image becomes large.
This is complete algorithm of saving image error and comparing. I read this when I was have a course of Multi-Media Software Engineering (MSD).
Post new comment