Composite - how to make overlay semi-transparent?

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
walsi

Composite - how to make overlay semi-transparent?

Post by walsi »

Hi,

I want to 'merge' to pictures - a map and an overlay... it does work perfectly with

composite img1.png img2.png new.png

But now I'd like to have the overlay semi-transparent, so the map shines through a little bit - how can I do that?

Thank you very much for your help!
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Composite - how to make overlay semi-transparent?

Post by Bonzo »

You could try blend:

Code: Select all

composite -blend 90 img1.png img2.png new.png
walsi

Re: Composite - how to make overlay semi-transparent?

Post by walsi »

it works, thank you very much!
Post Reply