From owner-freebsd-questions Thu Oct 24 17: 3:20 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 A1C4237B401 for ; Thu, 24 Oct 2002 17:03:19 -0700 (PDT) Received: from cypress.adhesivemedia.com (cypress.adhesivemedia.com [207.202.159.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C6743E75 for ; Thu, 24 Oct 2002 17:03:19 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from cypress.adhesivemedia.com (localhost [127.0.0.1]) by cypress.adhesivemedia.com (8.12.3/8.12.3) with ESMTP id g9P03FFk093313; Thu, 24 Oct 2002 17:03:15 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from localhost (philip@localhost) by cypress.adhesivemedia.com (8.12.3/8.12.3/Submit) with ESMTP id g9P03FPE093310; Thu, 24 Oct 2002 17:03:15 -0700 (PDT) X-Authentication-Warning: cypress.adhesivemedia.com: philip owned process doing -bs Date: Thu, 24 Oct 2002 17:03:15 -0700 (PDT) From: Philip Hallstrom To: Nathan Vidican Cc: questions@FreeBSD.ORG Subject: Re: OT: Looking for command-line jpg editor that could be modified In-Reply-To: <02Oct24.191302edt.118482@gateway.stclaircollege.ca> Message-ID: <20021024170246.N86468-100000@cypress.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 take a look at the netpbm package... you'll probably want to pre-generate the thumbnails as it's not super fast (ie, not fast enough to power a website, but fast enough)... -philip On Thu, 24 Oct 2002, Nathan Vidican wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message