ImageMagick help
Derek Neighbors
plug-discuss@lists.plug.phoenix.az.us
24 Apr 2003 19:24:47 -0700
--=-I9Dr5mdkYESkaPa+a58l
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
I use=20
for x in `ls`; do mogrify -resize 33% $x; echo Done converting $x; done;
I added the Done converting $x because I get sick of not knowing the
status of how far things were done.
On Thu, 2003-04-24 at 11:04, Don Calfa wrote:
> I'm trying to setup a script that resizes images. It's for a=20
> non-computer savvy type of person. The goal is that they:
>=20
> 1. Insert the memory card from their camera in the reader
> 2. Click a button that removes the files from the card and places them=20
> on the hard drive
> 3. Resizes the images and places those in a different location for=20
> e-mail purposes.
>=20
> I need the original filename to be exactly the same as the converted=20
> filename. The only variable I've been able to find is %nnd where nn is=20
> number of decimal places and d is the count of the images.
>=20
> convert -size 640x480 *.jpg -resize 640x480 output\%02d.jpg
>=20
> renames all files to 00.jpg; 01.jpg, 02.jpg, etc...
>=20
> Google hasn't produced the variable either nor has the imagemagick site.=20
> Any help appreciated.
>=20
>=20
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--=20
Derek Neighbors
GNU Enterprise
http://www.gnuenterprise.org
derek@gnue.org
Was I helpful? Let others know:
http://svcs.affero.net/rm.php?r=3Ddneighbo
--=-I9Dr5mdkYESkaPa+a58l
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+qJxuHb99+vQX/88RAjBdAJ93zf1B+wdPRi2zT/EWORkLibSMHgCfUdgF
L3oHcEZTXp+PqavttsmfwFE=
=d8hb
-----END PGP SIGNATURE-----
--=-I9Dr5mdkYESkaPa+a58l--