worked OK for alpha coming from antialising (rendered) but failed to do in other situations (alpha as blending, painted in gimp)
worked OK for alpha coming from antialising (rendered) but failed to do in other situations (alpha as blending, painted in gimp)