add a watermark but not on transparent pixels
Posted: 2011-08-19T02:42:45-07:00
Hi.
I'm looking to add a watermark but kipping the alpha of the bitmap.
I'm currently use this command
composite -dissolve 50% -gravity SouthEast watermark.png airship.png airship1.png
It give me this result.
http://www.webshaker.net/airship1.png
But what I'd like to have is
http://www.webshaker.net/airship2.png
i.e. not have the watermark on transparent pixels.
That must not be difficult for someone who know how to use imagemagick, but for me...
Thank's
I'm looking to add a watermark but kipping the alpha of the bitmap.
I'm currently use this command
composite -dissolve 50% -gravity SouthEast watermark.png airship.png airship1.png
It give me this result.
http://www.webshaker.net/airship1.png
But what I'd like to have is
http://www.webshaker.net/airship2.png
i.e. not have the watermark on transparent pixels.
That must not be difficult for someone who know how to use imagemagick, but for me...
Thank's