#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 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?



 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2114#comment:1>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to