how can i paste imageB on imageA with 50% opacity

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
Ravinderjit S.Sidhu

how can i paste imageB on imageA with 50% opacity

Post by Ravinderjit S.Sidhu »

Code: Select all

convert  -resample 72x72  -depth 8  -geometry 300x200!  xc:lightblue  ^
    -draw "image over 5,5 90,90 'imageB.png' " ^
    imageA.png  
how can i paste imageB on imageA with 50% opacity

please suggest
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: how can i paste imageB on imageA with 50% opacity

Post by Bonzo »

Code: Select all

composite -blend 50 -gravity center imageB.png imageA.png -matte output.png
Ravinderjit S.Sidhu

Re: how can i paste imageB on imageA with 50% opacity

Post by Ravinderjit S.Sidhu »

Thankyou bronzo, your help is really helped me
Post Reply