[GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows
GRASS GIS
trac at osgeo.org
Thu Jan 30 20:41:23 PST 2014
#2114: m.nviz.image does not work on Windows
--------------------------+-------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: LibOpenGL | Version: svn-trunk
Keywords: m.nviz.image | Platform: MSWindows 7
Cpu: Unspecified |
--------------------------+-------------------------------------------------
Comment(by annakrat):
Replying to [comment:1 hamish]:
> Replying to [ticket:2114 annakrat]:
> > Module m.nviz.image does not create valid image file on Windows.
> > With tif format, it crashes and with ppm it creates a file only
> > with header. So offscreen rendering doesn't seem to work.
>
> was the wingrass version in question built with libtiff support?
>
> see lib/ogsf/gsd_img_tif.c, nothing too complicated in there.
> gsd_img_ppm.c is even simpler. If header part is ok but writing the rest
of the ppm image isn't, perhaps gsd_getimage() is returning bad values for
xsize and ysize?
>
>
> > Has m.nviz.image ever worked on Windows?
>
> I don't know if anyone ever tested that; does saving as tiff or ppm from
the G6 tcl/tk NVIZ on wingrass work?
It worked I guess but I am talking here about off-screen rendering which
is different than just exporting image with opened window with (wx)nviz.
>
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2114#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list