How to apply color mask ?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
eoor

How to apply color mask ?

Post by eoor »

Hi, I want to apply to the image transparent color mask - achive exactly the same like this http://developer.yahoo.com/yui/examples ... ple11.html
Is there any parametr to IM programs to get this?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: How to apply color mask ?

Post by Bonzo »

A Couple of things to try:

Add a coloured image ( blue.jpg ) over the original:

Code: Select all

composite -blend 88 -gravity northeast blue.jpg input.jpg -matte output.jpg
Colorize

Code: Select all

convert input.jpg -fill blue -colorize 50% output.jpg
Post Reply