Javaranch has a naming policy which is strictly enforced. Please change your display name to conform with this policy if you wish to keep posting here. Thanks.
One good image handling package is imagemagick (www.imagemagick.org)
Imagemagick also has a JNI based Java API (http://www.yeo.nu:81/jmagick/)
Originally posted by Anavian:
I am trying to figure out how to write code that will create a thumbnail of an existing uploaded image. I know how to make a thumbnail manually, what I need is code to generate thumbnails as soon as a user uploads an image via a form. Please Help!!!
It is the same as manual method. Only that the image here will be dynamically loaded. We can write a servlet that returns an image after reading it in a particular image format.
classes From Graphics2D or JavaAdvancedImaging API would help serve the purpose
There are also lots of other imagedecoder classes available