From owner-freebsd-questions Thu Oct 24 16:20:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A24C37B401 for ; Thu, 24 Oct 2002 16:20:11 -0700 (PDT) Received: from stclaircollege.ca (www.stclairc.ca [204.225.7.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33D7C43E75 for ; Thu, 24 Oct 2002 16:20:04 -0700 (PDT) (envelope-from nathan@vidican.com) Received: by gateway.stclaircollege.ca id <118482>; Thu, 24 Oct 2002 19:13:02 -0400 Message-Id: <02Oct24.191302edt.118482@gateway.stclaircollege.ca> From: "Nathan Vidican" To: Subject: OT: Looking for command-line jpg editor that could be modified Date: Thu, 24 Oct 2002 19:11:00 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am looking to try and make a CGI application which can take in a single argument (the particular image to open), and return an image after scaling it down to a specific size. All images are the same size, and will all be scaled down proportionally. Here's the scenario: We've got a website, where a lot of pictures are frequently posted from one of about ten digital cameras. Fortunately all pictures are of the same size, but unfortunately that's 2048x1563 pixels and around 2Mb jpg to begin with. We'd like the viewers of the site to be able to selectively download any one of these high-res pictures, but generate thumbnails of each of the images and send them out on the pages. So basically I need a program which can proportionally scale down and return an image (in jpg format). I'd like to find something preferably written in either C/C++ or PERL. Any ideas or suggestions would be greatly appreciated. -- Nathan Vidican nathan@vidican.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message