[magick-users] ImageMagick regression? Or new feature?
Fred Weinhaus
fmw at alink.net
Thu Sep 10 09:31:32 PDT 2009
I don't really follow this, but it appears that you have the order of
images wrong and am missing a -composite or -flatten with the first
-compose multiply.
The convert syntax is
convert background overlay -compose method -composite
Below you create a white image, but don't follow with the overlay
image until after the -compose multiply and then there is no
-composite (or you have an out of place -compose multiply after the
xc:white and then again after the in.jpg with a -compose multiply
-flatten. When you have missed a composite command, you end up with
multiple outputs rather than the two image being composited into one
image.
see http://www.imagemagick.org/Usage/compose/#compose
Perhaps I am missing something here, but your command does not make
sense to me. Perhaps it worked before because IM was more forgiving
of errors and ignored the misplaced -compose multiply.
Perhaps you can explain functionally what you are trying to do and
what each step corresponds to.
Also you say things are twice as big, but your image is 750x750 but
you are usinig a 1159x1515 size white image. So the result will
likely be that big.
>convert.exe -density 150 -size 1159x1515 xc:white -compose multiply (
>in.jpg -repage 1159x1515+0+0 ) -compose multiply -flatten ( in.jpg
>-repage 1159x1515+409+765 ) -compose multiply -flatten -compress zip out.tif
More information about the Magick-users
mailing list