Page 1 of 1

trying wxp home and not getting it

Posted: 2007-01-14T19:24:07-07:00
by BabaG
just installed the wxp binary and am on the command line and
getting errors.

first off, the im display test did work to test the installation so
i'm thinking everything's basically ok there. cd'ed to a test
folder i'd put some jpg's in to try some simple conversions to
get started. (i changed the name of the convert exe to im-convert
to avoid conflicts with the wxp app of the same name. read that
somewhere.)

taken directly from the im website:

im-convert '*.jpg' -crop 120x120+10+5 thumbnail%03d.png

produces the error:

im-convert: unable to open image ''*.jpg'' : invalid argument.
im-convert: missing an image filename 'thumbnail%03d.png'.

also tried same with %% instead of % in the thumbnail line.
read somewhere that that might be necessary in wxp. no luck.
resize does the same thing basically.

thanks for any input,
BabaG

Posted: 2007-01-14T19:35:35-07:00
by BabaG
well, got that to start working. it was the ' around the *.jpg.

if i use *.jpg to tell im to get all the jpg's, how do i tell it to
keep the same filename after crop or resize and save them
in a different directory?

Posted: 2007-01-15T22:52:02-07:00
by anthony
Wrong command use morgify to save images back into the same file name
http://www.cit.gu.edu.au/~anthony/graph ... s/#mogrify

You can change formats using -format or save to a different output directory using -path
(in the very latest IM).

Posted: 2007-01-16T11:16:50-07:00
by BabaG
thanks anthony. didn't see mogrify in the command list here:

http://www.imagemagick.org/script/comma ... ptions.php

will play with those commands you suggest.