<div dir="ltr">I can't find it right now, but there is an issue on the scikit image issue tracker which was a similar problem.  I suspect the problem is that our png read is not sophisticated enough and your png maybe encoded ckmy.<div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 9, 2015 at 7:19 AM PBrockmann <<a href="mailto:Patrick.Brockmann@lsce.ipsl.fr">Patrick.Brockmann@lsce.ipsl.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have encountered a problem with this simplified code where I produce<br>
a windrose with some alpha level.<br>
Then read this png image to check.<br>
Then discover that the colors are not correct.<br>
<br>
What is the mistake ?<br>
I am puzzled.<br>
<br>
I use matplotlib 1.4.3<br>
<br>
The correct windrose with alpha colors<br>
<<a href="http://matplotlib.1069221.n5.nabble.com/file/n46131/windrose.png" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/file/n46131/windrose.png</a>><br>
<br>
The read png image.<br>
<<a href="http://matplotlib.1069221.n5.nabble.com/file/n46131/read.png" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/file/n46131/read.png</a>><br>
<br>
Regards<br>
Patrick<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://matplotlib.1069221.n5.nabble.com/read-a-png-image-with-alpha-gives-uncorrect-colors-tp46131.html" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.nabble.com/read-a-png-image-with-alpha-gives-uncorrect-colors-tp46131.html</a><br>
Sent from the matplotlib - users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div>