|
From: Francesco M. <fra...@gm...> - 2012-07-17 15:10:16
|
Dear matplotlibers, after spending some more time about my problem on how to emulate transparency to create nice eps figures with shaded areas, I found this web page: http://stackoverflow.com/questions/2049230/convert-rgba-color-to-rgb?rq=1 So I decided to implement the algorithm and it seems that the approach works (see attached pdf). Of course if there are many layers of transparent colors, it would be very hard to get the exact colors, but so far it's the best approach that I've found. The code can be downloaded from here: https://github.com/montefra/mimic_alpha/downloads Cheers, Francesco |