Re: Upload and Resize Image
Mattias Jiderhamn <[email protected]> Sat, 10 Jun 2006 17:11:41 +0200
| Newsgroups | gmane.text.xml.resin.user |
|---|---|
| Message-ID | <[email protected]> |
At 2006-06-09 21:51, Thomas Moorer wrote: >Please totally disregard this.... The main manipulation calls are >with 3rd party libraries. If I'd have read the page I'd know that - >DUH! (Oh well it's Friday). > >BTW, has anyone done something like this in a Servlet? I have done some image processing (scaling for example) using the Java Advanced Imaging (JAI) API, but it was rather cumbersome and memory hungry. If you do use JAI and somehow manage to create an on disc (rather than in memory) buffer for it, I would love if you'd share it. >Thomas Moorer <[email protected]> wrote: >Hi All, > >I am working on a project where I users can upload images (of any >size) and I need to resize them if they are greater than a certain >size (w x h). After some googling I didn't find many (hardly any) >solutions for servlet/jsp that do this, but I did find this for php. > ><http://www.blazonry.com/scripting/upload-size.php>http://www.blazonry.com/scripting/upload-size.php > >My question is, should this work with quercus? Maybe I'm lazy, but I >thought I'd ask before I spend the time trying to get it to work >only to discover it makes calls not supported by quercus. > >Thanks, >Thomas