trying wxp home and not getting it

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
BabaG

trying wxp home and not getting it

Post 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
BabaG

Post 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?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post 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).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
BabaG

Post 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.
Post Reply