Retrieve original transparency from a PNG
Posted: 2009-07-03T03:29:59-07:00
Hello,
I need your help experts.
I try to find the original transparency of a PNG image which has been replaced by an opaque color.
Here is an example :
The first image is the original image (with a nice gradual transparency) :

The second is the image where there is no more transparency because the green (#00ff00) has replaced it.

How to get the image 1 when I only have image 2 ? Is that possible with imagemagick ?
Thank you very much
I need your help experts.
I try to find the original transparency of a PNG image which has been replaced by an opaque color.
Here is an example :
The first image is the original image (with a nice gradual transparency) :

The second is the image where there is no more transparency because the green (#00ff00) has replaced it.

How to get the image 1 when I only have image 2 ? Is that possible with imagemagick ?
Thank you very much