Opened 15 years ago
Last modified 7 years ago
#138 new defect
PNG_driver: boundary at right side is one Pixel off
|Reported by:||schulzea||Owned by:|
I want to export an image with the PNG driver, but there seems to be a problem. Always I get a vertical line with 1 Pixel width. I use the following configuration for the export:
r.info for this raster shows col=317 and row=317
When I use r.out.pgn everything is fine. I get an image (317x317) without this vertical line. But I need the transparence.
I use grass 6.2.2 under Ubuntu. Is an error of myself or a bug?
Change History (6)
by , 15 years ago
comment:1 by , 15 years ago
comment:2 by , 15 years ago
comment:3 by , 15 years ago
d.out.file is another method to test. All d.out.file and d.out.png do is setup and run the PNG driver for you.
you could try setting: export GRASS_TRANSPARENT=TRUE
before running d.out.png if you want it to have transparency.
I use grass 6.2.2 under Ubuntu.
can you test to see if it is still there in 6.3.0?
comment:4 by , 15 years ago
well, I test it with version 6.3.0. The same result. And I tried d.out.file and d.out.png. Without success. And both use the PNG-Driver. I'm right?
It seems to be a problem with the PNG-driver. The strange is, that no data is lost. But I get an additional vertical line of one pixel at the right side of the image. But the dimension of my result image is still 317x 317.
I don't understand this.
comment:5 by , 7 years ago
|Milestone:||6.4.0 → 6.4.6|
Seems to be related to #72 (PNG driver: boundary rendering is off by one pixel)