If anyone can help, thanks in advance. if anyone benefits from these examples great. lots of articles don't have the needed include statements and that sux. here they are for you as a jsp woudl need them:
as far as i know, you are going to get that exception. it will be thrown before the image is fully loaded in mem. there are posts aroudn the net on this specifically.
I am looking for a fast way to get high quality images resized and optimized and saved to disk as a jpeg. not in a jpanel. not low quality. not 256 color. yada yada. good output. i have gotten many examples to work from things all around the net, but they all produce the same poor albeit fast output. for example, where light would highlight the texture of a leather, i get grainy harsh white pixels. yuck! here are three methods that all work. the one that does a nice job takes 19s to convert from an image to a buffered image which is required to write as jpeg. does anyone know a way around this? unlike posts i have seen, Image resizedImg = bufImage.getScaledInstance( whatever) does not take long. it is the conversion from the returned Image to BufferedImage that takes so darn long.