Apache FileUpLoad and BufferedImage?
Posted on 2006-04-12
I am planning to use the apache fileupload tool, to access images posted to a servlet.
The servlet accesses the files using:
List items = upload.parseRequest(req);
FileItem item = (FileItem) iter.next();
My plan was to create a thumbnail of the orginal image, and this and orginal image.
Could anyone advise if I could possibly create an BufferedImage object or Image object from the item variable above, and then reduce the image size using the bufferedimage?