tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Freitag">
Subject RE: image resize
Date Tue, 31 Jul 2001 16:31:49 GMT
I wouldn't say its "Beyond the Scope of Servlets" there are several usages
for server side image manipulation in web applications, and many other web
development languages have components for doing so.  For instance
	- automatically resizing images when they are uploaded so that they are all
the same size.
	- automatically generating thumbnails
	- In some very specific cases, creating dynamic images with text

Though I can see where you are coming from it IS beyond the scope of
servlets to make a server side PhotoShop.

Pete Freitag (
Web Developers Resources

-----Original Message-----
From: Richard Draucker []
Sent: Tuesday, July 31, 2001 12:08 PM
Subject: Re: image resize

Can you be more specific what you mean by "resize"?
Html will allow you to set the displayable height/width of an image.  If
servlet is outputting html, just add a height or width attribute.
However, if you want to "manipulate" the image itself that's beyond the
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
Remote Data Support For Web Developers

View raw message