Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 62331 invoked from network); 2 Jun 2005 10:00:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2005 10:00:16 -0000 Received: (qmail 40216 invoked by uid 500); 2 Jun 2005 10:00:08 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 40173 invoked by uid 500); 2 Jun 2005 10:00:08 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 40160 invoked by uid 99); 2 Jun 2005 10:00:08 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ns1.netcetera.ch (HELO netcetera.ch) (193.192.248.9) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Jun 2005 03:00:06 -0700 Received: from fire-05.netcetera.ch (fire-05 [193.192.248.167]) by fusion.netcetera.ch (8.11.7p1+Sun/8.7.3) with ESMTP id j529xsP29777 for ; Thu, 2 Jun 2005 11:59:54 +0200 (MEST) Received: from localhost by fire-05.netcetera.ch (8.11.7p1+Sun) id j529xrc02937; Thu, 2 Jun 2005 11:59:53 +0200 (MEST) Date: Thu, 2 Jun 2005 11:59:53 +0200 (MEST) From: Stefan Rufer X-X-Sender: srufer@fire-05.netcetera.ch To: Jakarta Commons Users List Subject: Re: [FileUpload] Resizing JPEG before upload In-Reply-To: <04c201c56750$36830d10$6901a8c0@Dakiti> Message-ID: References: <04c201c56750$36830d10$6901a8c0@Dakiti> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I don't know if I got you right, but you can not resize the JPEG before uploading. You have to upload the whole JPEG to the server and do the resize there. For this check out Java Advanced Imaging I guess, e.g. http://forum.java.sun.com/thread.jspa?threadID=177124&messageID=554105 as starting point. cu Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org