I got a bit of a problem. We have some software that programmatically combines several pngs into a jpg, using a combination of 'over' and 'multiply' conversions.
Code: Select all
convert ( L0_Leg_Metal_Arc_Chrome.png Sofa_C1_L1_001.png -compose over -composite ) ( -clone 0 C1_L2_001.png -compose over -composite ) -delete 0 ( -clone 0 C1_L3_001.png -compose over -composite ) -delete 0 ( -clone 0 C1_L5_017.png -compose multiply -composite ) -delete 0 ( -clone 0 C1_L6_017.png -compose multiply -composite ) -compose over -composite -background White -layers Flatten foo.jpg
SO the problem is, when we multiply, as with C1_L5_017.png and C1_L6_017.png, I would like to reduce the alpha (opacity, in case i am misusing alpha) of those two layers. So when I multiply, I want to multiply against the previous composite this new layer at varying opacities. Specifically, 20 and 50 percent, respectively.
Any help would be appreciated.