From owner-freebsd-questions Sat Mar 18 14:52: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kaon.intercom.com (kaon.intercom.com [198.143.3.30]) by hub.freebsd.org (Postfix) with ESMTP id 0F0AC37BC6A for ; Sat, 18 Mar 2000 14:52:02 -0800 (PST) (envelope-from jason@intercom.com) Received: from [198.143.3.26] (helo=intercom.com) by kaon.intercom.com with esmtp (Exim 3.13 #1) id 12WS4Q-0008mK-00; Sat, 18 Mar 2000 17:51:46 -0500 Date: Sat, 18 Mar 2000 17:51:46 -0500 (EST) From: "Jason J. Horton" X-Sender: mail@kaon.intercom.com To: spock@mem.net Cc: freebsd-questions@freebsd.org Subject: Re: Command line image manipulation In-Reply-To: <200003182005.OAA23671@smith.spock.mem.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: > Date: Sat, 18 Mar 2000 14:05:06 -0600 (CST) > From: Rev. Nostrebor N. Cire > Reply-To: spock@mem.net > To: freebsd-questions@freebsd.org > Subject: Command line image manipulation > > 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 do this, I need a command line program that will read GIF, JPEG > and ideally BMP and TIFF format files and output them in GIF or JPEG format > on stdout or to a file after resizing the image to a given height or width > with the unconstrained parameter (height or width) proportional to the > original. > > Does anyone know of a command line manipulation program that does this or > maby of a program that does all of the above? > > XV has quite a few command line options and reads all of the file formats I > want to manipulate, but I don't think I can get it to output to a file from > the commandline. I know this will not be efficient, but I don't want to > generate thumbnails for all of my images and keep them organized. > > Thank You. > > http://www.spock.mem.net > > > > > 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