Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Converting mask to color

$
0
0
Hi,

I am unsuccessfully trying to give color to a mask. From the ImageMagick documentation I found there are a few ways to do this. How can I achieve any of the following with Magick.NET?
 convert heart_mask.gif  -background Red -alpha Shape  heart_red.png
or
 convert heart_mask.gif -negate  \
      -background Gold  -channel A  -combine   heart_gold.png
or
 convert heart_mask.gif \( +clone \) -alpha off \
      -compose CopyOpacity  -composite \
      -fill HotPink  -colorize 100%    heart_hotpink.png
Thank you for your time.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>