From owner-freebsd-questions Sun Mar 19 10:28: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smith.spock.mem.net (smith.spock.mem.net [208.233.57.196]) by hub.freebsd.org (Postfix) with ESMTP id 92F4137B5DA for ; Sun, 19 Mar 2000 10:27:56 -0800 (PST) (envelope-from spock@spock.mem.net) Received: from spock.mem.net (localhost [127.0.0.1]) by smith.spock.mem.net (8.9.3/8.9.3) with SMTP id MAA27657; Sun, 19 Mar 2000 12:27:20 -0600 (CST) (envelope-from spock@spock.mem.net) Date: Sun, 19 Mar 2000 12:27:20 -0600 (CST) Message-Id: <200003191827.MAA27657@smith.spock.mem.net> To: "Jason J. Horton" , spock@mem.net Subject: Re: Command line image manipulation From: "Rev. Nostrebor N. Cire" X-Mailer: TWIG 2.0.3 Cc: freebsd-questions@freebsd.org Reply-To: spock@mem.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you to everyone who responded. The convert program in the ImageMagick package is exactly what I needed. convert -geometry 150x150 JPEG:- Takes an image in arbirtary format, scales it proportionally to about 150 pixels in width, converts to jpeg, and outputs on stdout. The description of ImageMagick in the ports says that ImageMagick is for X. Maby it should say that ImageMagick is for X and shell use? "Jason J. Horton" said: > cd /usr/ports/graphics/ImageMagick/ > > Install ImageMagick, the convert utility will convert from just about > any format to just about any other format, while mogrify will do the > resizing. Great tools, plus there is a perl module for easy script > integration. > > On Sat, 18 Mar 2000, Rev. Nostrebor N. Cire wrote: > > > > > I would like to write a CGI script to present thumbnails of all of the > > images in an arbitrary directory, if such a program does not already > > exist. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message