Post a link to your two original images also so we can see what you are starting with and try ourselves.


Hi,

after my last post & compiling the current IM 6.4.0, I was able to
perform the 'compose' operation I wrote about. The only problem:

After performing 'compose', a white 'halo' remains around the object.
Does anybody know how I can remove this, using a shell script & IM?.

Here's a close-up of the final image with an alpha channel:

http://home.arcor.de/ccyrny/downloads/im_compose_screenshot.png

And here's my script, which runs successfully now (there was apparently
an issue with my older IM install 6.2.3-4):

-- script --

#!/bin/sh

convert original_image.png white_bg.png \
-compose ChangeMask -composite composite.png

display composite.png

-- /script --
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to