Colourize a PNG in DX11

hi guys! there is a texture effect that can colourize a PNG (preserving the alpha channel)?
https://vvvv.org/sites/default/files/imagecache/large/images/colorPNG_2014.02.04-16.24.10.png

on the right there is the effect I wanna achieve

colorPNG.rar (783.8 kB)

haha! I just realized that into the colorize effect the alpha is ignored!


return float4(tc, 1.0);

so I substitute it with


float4 s=tex0.Sample(s0,uv);
return float4(tc, s.a);

I’m wondering if it is the same in the other effects?
Should I make a issue in github, mr @vux ?