Jasper van de Gronde wrote:
Bryce Harrington wrote:
On Tue, Jul 11, 2006 at 07:29:13PM +0200, Jasper van de Gronde wrote:
bulia byak wrote:
On 7/11/06, Jasper van de Gronde <th.v.d.gronde@...528...> wrote:
... http://home.hccnet.nl/th.v.d.gronde/gradient-test-new.png http://home.hccnet.nl/th.v.d.gronde/gradient-test-screenshot.png
They both come from the same version of Inkscape (the modified one I just posted about in another e-mail, but 0.44 has the exact same issue) and show the same file on the same scale, yet the banding and coloring are slightly different.
Oh, I think I see what's going on. Inkscape has a defined "canvas area", as indicated by the document outline thingee. Anything overlapping or extending beyond that box is clipped when you export. In your screenshot it's clear you can see there is portions of the document extending beyond this boundary; it looks like inside the boundary everything is identical for both images.
This is weird! When looking at the images with Firefox they indeed appear to be (virtually) identical (apart from the border of course, I just clipped a bit rough), but when I look at images with IrfanView (or Corel PhotoPaint, I didn't try any other programs) they seem to be different... (In fact, to make sure I wasn't going crazy I checked the histograms, after cropping properly naturally, the mean value is off by about 10.) Any gamma values or something similar being written to the PNG file?
Wait a second... it looks like there's transparency involved in the object the gradient is applied to and the canvas is most likely transparent as well... is this possibly the issue with the PNG export?
In Inkscape it will render on the white (transparent) background, but, the PNG would just have transparency w/o that "artificial" white. I guess the quick test is to make the background opaque in the document properties and test exporting to PNG again.
-Josh