Hi, I'm using r.out.png in GRASS 7 in it works well at least for values 0-255. It also exports NULLs as transparent pixels which is great.
If you still have an issues with r.out.gdal you may want to consider providing some small sample of your data and/or report this as a bug. Vaclav On Wed, Nov 6, 2013 at 8:42 AM, Cesar Augusto Ramírez Franco < [email protected]> wrote: > Use the PNG driver: > > export GRASS_TRUECOLOR=TRUE > d.mon start=PNG > d.rast {mapname} > d.vect {mapname} > d.mon stop=PNG > > Then you'll have a map.png file on the current directory, and you can use > imagemagic 'convert' utility to get a *.jpg > > convert map.png {mapname}.jpg > > Regards > > > 2013/11/5 António Rocha <[email protected]> > >> Dear all, >> I have a Raster layer with colors and values 1 till 8 and null values. I >> want to export as JPEG using r.out.gdal but I get a totally black image. >> Any tips on how to solve this? >> Regards, >> Antonio >> _______________________________________________ >> grass-user mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/grass-user >> > > > > -- > *César Augusto Ramírez Franco* > Laboratorio de Sistemas Complejos Naturales > Escuela de Geociencias > Facultad de Ciencias > Universidad Nacional de Colombia - Sede Medellín > Teléfono: (57-4) 430 9369 - 301 389 5607 > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
