I use this image:
http://imgur.com/qnN2x,x9mVa
When i do the following:
Code: Select all
convert -size 600x500 xc:"#FF0000ff" -alpha set ( hearts.png -resize 166x165! -channel Alpha -evaluate Divide 2 +channel ) -geometry +223+105 -compose Over -composite final_template.png
However when i do:
Code: Select all
C:\Temp\badge>convert -size 600x500 xc:"#FF0000ff" -alpha set ( hearts.png -resize 166x165! -channel Alpha -eva
luate set 50% +channel ) -geometry +223+105 -compose Over -composite final_template.png
I need the second code, because the transparency is set between 1 and 100%. (and it is part from a much larger convert.
Is this a bug or am i doing something wrong?
Regards,
Marcel