After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 157732 - the picture sizes of a saved png- and jpg-file is on pixel bigger than the chart size
the picture sizes of a saved png- and jpg-file is on pixel bigger than the ch...
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.3.x
Other Linux
: Low minor
: ---
Assigned To: Emmanuel Pacaud
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-11-09 10:32 UTC by Dieter Faulbaum
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
propsed pacth (645 bytes, patch)
2004-11-28 16:35 UTC, Jean Bréfort
none Details | Review

Description Dieter Faulbaum 2004-11-09 10:32:20 UTC
creating a chart with a given size (maybe 400x600 pixels)
save this as image -> png (or jpeg)
the size the saved picture (shown by 'file') is one pixel too big.
(PNG image data, 601 x 401, 8-bit/color RGBA, non-interlaced)

Should be the same size.
Comment 1 Jean Bréfort 2004-11-28 16:35:50 UTC
Created attachment 34232 [details] [review]
propsed pacth
Comment 2 Jean Bréfort 2004-11-28 16:36:11 UTC
This seems to come from src/gnumeric-pane.c. If coords are really inclusive ..
exclusive as said in the comment why remove 1 from both width and height? I
attach a patch
Comment 3 Dieter Faulbaum 2004-11-29 13:31:41 UTC
It's getting worse:
in version 1.4.0 the difference are 2 points?!
Comment 4 Jody Goldberg 2004-11-30 04:01:55 UTC
I tried to throw in a quick patch for this a few weeks back and must have
reversed the signs.