If it's OK for you to create the thumbnails during deploy-time,
the <image> Ant-task is very convenient, however the filtering algorithm
can't be specified 
and the default one is not so high quality (I guess it just uses
"nearest neightbour").

 Aron Gombas
 3NF Corporation
 www.3nf.com

-----Original Message-----
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 05, 2005 3:37 PM
To: 'Struts Users Mailing List'
Subject: Re: Seeking advice image resizing


What about jmagick? 

http://www.yeo.id.au/jmagick/

The problem with using awt is that you need an X installation on your
server, which you normally haven't. And running AWT in headless mode is
not that easy. Beside this, jmagick provide better quality of image
resizement as awt.

Regards
Leon

> -----Ursprüngliche Nachricht-----
> Von: Mark Benussi [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 5. Mai 2005 15:29
> An: 'Struts Users Mailing List'
> Betreff: RE: Seeking advice image resizing
> 
> :) Me too. Its on my list of things to do but from some
> research I did last week I found this gem
> 
> http://developers.sun.com/solaris/tech_topics/java/articles/awt.html
> 
> -----Original Message-----
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Sent: 05 May 2005 14:07
> To: user@struts.apache.org
> Subject: Seeking advice image resizing
> 
> Not truly struts related, but I would assume that people on
> this list know a solution, or workaround for what appears to 
> be a common dilemma.
> 
> I have created a ECommerce type site, in which there are
> three display sized images. A 125x125 thumb, a 256x256 
> preview, and a 100% original view for a product.
> 
> My application is 100% struts, running on Tomcat 5.x. I would
> like to be able to upload the original, them create the 
> preview, and thumb from the original.
> 
> Is there a simple java solution for this? I know there are
> things like image magic, etc, but eventually I am going to 
> have this site hosted, and want a simple, effective solution. 
> Or is the solution to pre-create these and upload three 
> unique uploads. And if that is the case, can this be done 
> with one multipart form using the commons file uploader? Or 
> do I need a wizard type approach, where they upload original, 
> next page, preview, etc.?
> 
> Any info would be appreciated.
> 
> Thanks,
> Scott
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to