I have more PNG images (let's say img1.png, img2_transparent.png, img3.png) and I want them flatten to one image.
Before I flatten them I set (I want second image was slightly transparent):
convert img2_transparent.png -alpha on -channel a -evaluate set 90%
Then I flatten them (order is img1.png, img2_transparent.png, img3.png):
convert *.png -flatten out.png
Result is ok, second "layer" has opacity 90%, BUT whole picture (thus all "three" layers) is "lightened". Colors are not so deep as I don't set alpha to img2_transparent.png.
How can I avoid this?
Thank you