This is now added in SVN, and only for the Agg backend(s). It won't
work with some of the other ways to save PNG files, such as Gdk, Wx
(non-Agg) and Cairo. If anyone was any thoughts about how to support
saving the resolution in those backends, please share.
Also note that resolution is
Wayne E. Harlan wrote:
I would like to follow up on my first response to Bill. It probably
should be a new thread, but I'll start here. When png files are saved
with a DPI=300 argument, and I open them in the Gimp, the dpi is only 72
(default ?). As I understand it, the dpi setting in
Bill Dandreta wrote:
Wayne E. Harlan wrote:
I would like to follow up on my first response to Bill. It probably
should be a new thread, but I'll start here. When png files are saved
with a DPI=300 argument, and I open them in the Gimp, the dpi is only 72
(default ?). As I understand it,
Not quite. The figure opens at the correct size in the gimp but all I
see is background - no plot stuff.
Wayne
Michael Droettboom wrote:
This is now added in SVN, and only for the Agg backend(s). It won't
work with some of the other ways to save PNG files, such as Gdk, Wx
(non-Agg) and
Hmmm. I'm very surprised that this change could cause that. All it
does is add an additional metadata chunk to the PNG file, which
shouldn't have any affect on the image data itself. simple_plot.py
works fine for me in GIMP 2.0.5 both before and after this change. Can
you verify that this
Michael Droettboom wrote:
Bill Dandreta wrote:
This info may or may not be useful. If I save a plot with savefig()
without specifying a figsize, sometimes the figure gets clipped. What
gets saved is the portion of the image that show() displays. I
determined experimentally that
There appears to be a problem with .png files that matplotlib creates.
Some programs (like GIMP http://www.gimp.org/ and xv)
http://www.trilon.com/xv/ do not identify them as png files and cannot
display them.
--
Bill
[EMAIL PROTECTED]
Gentoo Linux X86_64 2.6.20-gentoo-r8
Reclaim Your Inbox
Bill:
I do not have that problem using mpl-0.90.1 or svn which I checked out
and installed yesterday. I have gimp-2.2.17 and have no problems
opening them on my linux system or my two XP systems at work. The issue
I do find is that when I specify the DPI in the savefig command, it does
not
Wayne E. Harlan wrote:
Bill:
I do not have that problem using mpl-0.90.1 or svn which I checked out
and installed yesterday. I have gimp-2.2.17 and have no problems
opening them on my linux system or my two XP systems at work. The
issue I do find is that when I specify the DPI in the
Bill Dandreta wrote:
There appears to be a problem with .png files that matplotlib creates.
Some programs (like GIMP http://www.gimp.org/ and xv)
http://www.trilon.com/xv/ do not identify them as png files and cannot
display them.
Would you be more specific, please? I can't reproduce the
10 matches
Mail list logo