From owner-freebsd-questions Thu Oct 24 17:46:37 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 0C0B737B401 for ; Thu, 24 Oct 2002 17:46:36 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B6DB43E42 for ; Thu, 24 Oct 2002 17:46:35 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (e2549e8f733c25c68da8d58179551751@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id g9P0l4ho069749; Thu, 24 Oct 2002 17:47:04 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id g9P0kfA5069748; Thu, 24 Oct 2002 17:46:41 -0700 (PDT) (envelope-from monkey) Date: Thu, 24 Oct 2002 17:46:41 -0700 From: Adam Weinberger To: Philip Hallstrom Cc: Nathan Vidican , questions@FreeBSD.ORG Subject: Re: OT: Looking for command-line jpg editor that could be modified Message-ID: <20021025004641.GG68583@vectors.cx> Mail-Followup-To: Adam Weinberger , Philip Hallstrom , Nathan Vidican , questions@FreeBSD.ORG References: <02Oct24.191302edt.118482@gateway.stclaircollege.ca> <20021024170246.N86468-100000@cypress.adhesivemedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20021024170246.N86468-100000@cypress.adhesivemedia.com> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 netpbm is more for converting images to different formats. The originator is looking for ImageMagick, which is in the ports tree. Install the port and read the manpage for convert(1) and mogrify(1). You're on your own for making the CGI script. Check out www/gallery if you want something that will autogenerate an entire image gallery website. Tonight I'm going to commit www/kallery, which has a spiffy KDE frontend. - -Adam >> (10.24.2002 @ 1703 PST): Philip Hallstrom said, in 1.4K: << > 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. >> end of "Re: OT: Looking for command-line jpg editor that could be modified" from Philip Hallstrom << - -- Adam Weinberger adam@vectors.cx adamw@FreeBSD.ORG -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9uJRxo8KM2ULHQ/0RAjWRAJ9ZszJzdBccZ+y3/f5qBwHz9uyrKQCgyA4C gBODGzv5W6//4csZuNNiSgM= =eWl4 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message