[magick-users] how can I append a modified version of an image to original in one command
adrinux
adrinux at gmail.com
Wed Aug 6 05:24:35 PDT 2008
2008/8/6 Anthony Thyssen <anthony at griffith.edu.au>
> You need to use clone and the commands in parenthesis
>
> convert input.png \
> \( +clone -modulate 110,0 -fill '#A1ECFF' -tint 100 \) \
> +append output.png
Ah yes, I'd played with parenthesis earlier but with no success - and
that works perfectly on the command line. Thanks go to all 3 people
that pointed that out :)
But not in the context of PHP and Drupal - after some digging I found
out that it's in effect passing IM5 style command line syntax to
convert, with both input and output filenames *after* the options and
operators. I take it that parenthesis requires IM6 style command line
syntax...
So it's time to work on the PHP etc :)
> Only one command is needed.
Thanks, it seemed that way from reading the docs but I was having a
crisis of confidence :)
Thanks for your help.
Adrian
More information about the Magick-users
mailing list