Page 1 of 1

Help me Mask 2 images

Posted: 2013-09-16T01:18:38-07:00
by vutuyen
Hi everyone
Im building the Seven Seas game, i have two image
Image
and
Image

how can i use the ImageMagick to make the transparent image from 2 images above.

the black color willl be transparent.

thanks all.

Re: Help me Mask 2 images

Posted: 2013-09-16T01:58:17-07:00
by snibgo
If you want the second image to be a transparency mask for the first:

Code: Select all

convert skull.gif skullmask.gif -compose CopyOpacity -composite ssSkull.png

Re: Help me Mask 2 images

Posted: 2013-09-16T02:23:03-07:00
by vutuyen
great!!

i got it

thank you :D