From owner-freebsd-questions Tue Jan 29 4:15: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 6525237B402 for ; Tue, 29 Jan 2002 04:15:00 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id g0TCEwg05262; Tue, 29 Jan 2002 13:14:58 +0100 (CET) (envelope-from stijn) Date: Tue, 29 Jan 2002 13:14:58 +0100 From: Stijn Hoop To: Martin Moeller Cc: freebsd-questions@freebsd.org, Kay-Uwe Schlimme Subject: Re: Automatic processing of graphic files under FreeBSD Message-ID: <20020129131458.L3171@pcwin002.win.tue.nl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="3Pql8miugIZX0722" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from moeller@phicom.de on Tue, Jan 29, 2002 at 12:58:11PM +0100 X-Bright-Idea: Let's abolish HTML mail! 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 --3Pql8miugIZX0722 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 29, 2002 at 12:58:11PM +0100, Martin Moeller wrote: > I'm looking for a tool that reduces image files to a certain size > automatically when they are being uploaded to a certain directory via FTP. > I'm using FreeBSD 4.3-STABLE w/out X installed. > Any ideas? I don't know of any tool that will do this automatically, but convert(1) will let you resize images programmatically. It is part of ImageMagick available in the ports, which you can compile without X11. You'll have to write a shell script or some such to watch the directory and call convert(1) to resize them. HTH, --Stijn --=20 The rain it raineth on the just And also on the unjust fella, But chiefly on the just, because The unjust steals the just's umbrella. --3Pql8miugIZX0722 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8VpJCY3r/tLQmfWcRAqaPAJ9ZRhtalpPlWrgwHWbs1o53e9QxYgCeJSuJ nqgX4YI4QR3P5Hv/RKzr1f4= =wtKg -----END PGP SIGNATURE----- --3Pql8miugIZX0722-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message