There's also the possibility of letting the browser resize it for you, by
setting the width and height attributes of the <IMG> tag. Browsers don't
scale images well, but it's a whole lot easier than doing it yourself.
(Also note that AWT can't run on Unix without an X server, nor can it run if
the server is locked. Look through the Tomcat archives for more
information.)
-- Bill K.
> -----Original Message-----
> From: Cory Powers [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 8:21 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: image resize
>
>
> I'm not sure, but there is good info on working with images
> on the jguru
> site. Try http://www.jguru.com/faq/home.jsp?topic=Media
>
>
> -----Original Message-----
> From: Reynir H�bner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 11:13 AM
> To: [EMAIL PROTECTED]
> Subject: image resize
>
>
> 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
>