I do not have much experience in image manipulation. I am trying to take an upload from webapp place into the database and retrieve with a servlet (which dynamically resizes the image). Everything works except sometimes the image, which are all jpg, turn grey halfway through the drawing process. Since this occurs no matter how the image is dynamically sized, I can only assume that it is being stored in the db that way during the upload. Could someone browse through my code and see if there is anything that would cause this?
BTW, getInputStream() is called on a struts FormFile, so that shouldn't be the problem.
BTW, getInputStream() is called on a struts FormFile, so that shouldn't be the problem.