[magick-users] ChangeMask: white 'halo'

Fred Weinhaus fmw at alink.net
Tue Apr 8 12:21:39 PDT 2008


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


More information about the Magick-users mailing list