Apply opaque filter to PNG with Apha

I succeded to apply filter that add fading opaque border to an image, but when I do it with an image with alpha, here is what I get:

270818-capture.png

The aplha channel turns black…

How can I prevent this ?

Here is material function:

Sadly PNG and alpha dont play nice, try TGA with alpha and it should be solved.
Also, since you are multiplying a gradient with 10, you might want to saturate (clamp) the output first.

I just exported my file as a TGA, but there is no transparency at all:

270838-capture3.png

(when I don’t apply the filter, the image is transparent)