Hello All,
I have a file server that has all my picture for an application (user uploaded) and I have created a
servlet that gets them from the file server and returns an array of bytes with the MIME type image. It all works great, but is kinda slow because the images are like 2500x2500 pixles, and in some cases the user is viewing 50+ of them.
I was wondering if there was a good way to scale the images (using the array of bytes) in the servlet and then pass it a parameter as to which image to get, large or thumb.
I have coded the solution below, but it is slower than the original I think... Any help would be great.
Thanks,
Matt
Also, does this solution require that the server have a graphics card because it is dealing with the Graphics object?
[ October 24, 2005: Message edited by: matt eggbeers ]