Problems seeing a png created with matplotlib in firefox

Hi,

I have trouble seeing a png image that I have created with matplotlib
(0.99.1.1) in my firefox browser( 2.6) and I am not sure if it is a
browser issue of a bug in matplotlib.

Here are two examples of the image:

This is the original image created with the script in the same
directory (and which I can't see. I don't neither get a warning nor an
error, just a bnalk screen:
http://atlas3.atlas.aei.uni-hannover.de/~dietz/Test/test.png

while this one I have created with converting to jpg and back to png.
The sizes are different, and this one I can see in my browser
http://atlas3.atlas.aei.uni-hannover.de/~dietz/Test/test2.png

Could the png file be corrupted? In other browsers or tools like
kview, okular etc I have no problems to open/print both images.

Thanks
  Alex

I can see both images in my browser, they look (virtually) identical.

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100218
Mandriva Linux/1.9.1.8-0.1mdv2010.0 (2010.0) Firefox/3.5.8 (.NET CLR
3.5.30729)

Johann

···

On Tuesday 02 March 2010, Alexander Dietz wrote:

This is the original image created with the script in the same
directory (and which I can't see. I don't neither get a warning nor
an error, just a bnalk screen:
http://atlas3.atlas.aei.uni-hannover.de/~dietz/Test/test.png

while this one I have created with converting to jpg and back to
png. The sizes are different, and this one I can see in my browser
http://atlas3.atlas.aei.uni-hannover.de/~dietz/Test/test2.png

Hi,

thanks for testing. So it looks like a bug in firefox from 3.5.8 ->
3.6, or do you see any strange things happening in the file to create
this image?

Cheers
  Alex

···

On Tue, Mar 2, 2010 at 14:19, Johann Rohwer <jr@...841...> wrote:

On Tuesday 02 March 2010, Alexander Dietz wrote:

This is the original image created with the script in the same
directory (and which I can't see. I don't neither get a warning nor
an error, just a bnalk screen:
http://atlas3.atlas.aei.uni-hannover.de/~dietz/Test/test.png

while this one I have created with converting to jpg and back to
png. The sizes are different, and this one I can see in my browser
http://atlas3.atlas.aei.uni-hannover.de/~dietz/Test/test2.png

I can see both images in my browser, they look (virtually) identical.

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100218
Mandriva Linux/1.9.1.8-0.1mdv2010.0 (2010.0) Firefox/3.5.8 (.NET CLR
3.5.30729)

Johann

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Strange -- I can see it fine in firefox 3.5 on Solaris. Haven't seen
this problem before.

JDH

···

On Tue, Mar 2, 2010 at 4:05 AM, Alexander Dietz <alexander.dietz@...3006...> wrote:

Hi,

I have trouble seeing a png image that I have created with matplotlib
(0.99.1.1) in my firefox browser( 2.6) and I am not sure if it is a
browser issue of a bug in matplotlib.

Quoting Alexander Dietz on 03/02/2010 01:27 PM:

Hi,

thanks for testing. So it looks like a bug in firefox from 3.5.8 ->
3.6, or do you see any strange things happening in the file to create
this image?

Tested here on firefox 3.6 (Ubuntu) and I cannot reproduce what you
described.

Looking at the files, the only difference is that one png has an alpha
channel while the other one doesn't. The one that caused you problems is
the one that has the alpha channel.

You should probably check external dependencies like libpng (1.2.37-1 here).

Hi,

that is very interesting. So what about the following image:

test_large.png

which has been create with the exact same code. Does this file has an
alpha channel? Because this file I can see clearly on my browser.

Cheers
  Alex

···

On Tue, Mar 2, 2010 at 15:05, Renato Alves <rjalves@...2813...> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoting Alexander Dietz on 03/02/2010 01:27 PM:

Hi,

thanks for testing. So it looks like a bug in firefox from 3.5.8 ->
3.6, or do you see any strange things happening in the file to create
this image?

Tested here on firefox 3.6 (Ubuntu) and I cannot reproduce what you
described.

Looking at the files, the only difference is that one png has an alpha
channel while the other one doesn't. The one that caused you problems is
the one that has the alpha channel.

You should probably check external dependencies like libpng (1.2.37-1 here).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuNGzAACgkQYh11EUYTX9SarQCdHuUkqBzcLJq7A8R37QCrh0p4
Vl8AmQGE/ye1ylMueVUq5pWxEj924udU
=QYcO
-----END PGP SIGNATURE-----