[GRASS-dev] Re: [GRASS GIS] #104: saving display to tiff or ppm garbled when NVIZ is not top window

Glynn Clements glynn at gclements.plus.com
Wed Mar 26 09:09:49 EDT 2008


GRASS GIS wrote:

> #104: saving display to tiff or ppm garbled when NVIZ is not top window

BTW, I've just fixed a bug in that code which caused the pnmcat stage
to fail if the smallest monitor dimension was a power of two (e.g. 
1280x1024).

Essentially, the code always added one to the number of rows and
columns (rather than rounding up), so if the image size was an exact
multiple of the tile size, you would get an extra zero-width column
and a zero-width row, which pnmcat complained about.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list