Scott/Erik-
This sounds like a fun project If you are looking for an example I would try http://java.sun.com/products/jfc/tsc/articles/javaOne2001/600/ (Please keep us informed on how you are progressing)
Martin- 617-852-7822
----- Original Message ----- From: "Erik Weber" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, May 05, 2005 1:47 PM
Subject: Re: Seeking advice image resizing
Look at ImageIO for read/write and RescaleOp for your scaling.
Erik
Scott Purcell wrote:
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]