Can you be more specific what you mean by "resize"?
Html will allow you to set the displayable height/width of an image. If your
servlet is outputting html, just add a height or width attribute.
However, if you want to "manipulate" the image itself that's beyond the scope
of tomcat or servlets in general... use your favorite image editor and serve
the resulting image from the servlet.
On Tuesday 31 July 2001 11:12 am, you wrote:
> Hi,
> this is probably a bit of topic...
> What would be the best way to resize images with servlet ?
> I have .jpgs and .gifs in files (not kept in database) and I need to
> create new files in different sizes from those images.
> Is anyone willing to give me a hint (or more :) on how to do it.
>
> thanx
> -r
--
Richard Draucker [EMAIL PROTECTED]
Protected-Data.Com www.protected-data.com
Remote Data Support For Web Developers