GNOME Bugzilla – Bug 157732
the picture sizes of a saved png- and jpg-file is on pixel bigger than the chart size
Last modified: 2004-12-22 21:47:04 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.
Created attachment 34232 [details] [review] propsed pacth
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
It's getting worse: in version 1.4.0 the difference are 2 points?!
I tried to throw in a quick patch for this a few weeks back and must have reversed the signs.