.TH r.out.png 1grass "" "GRASS 7.8.5" "GRASS GIS User's Manual" .SH NAME \fI\fBr.out.png\fR\fR \- Export a GRASS raster map as a non\-georeferenced PNG image. .SH KEYWORDS raster, export, output, PNG .SH SYNOPSIS \fBr.out.png\fR .br \fBr.out.png \-\-help\fR .br \fBr.out.png\fR [\-\fBtw\fR] \fBinput\fR=\fIname\fR \fBoutput\fR=\fIname\fR [\fBcompression\fR=\fIinteger\fR] [\-\-\fBoverwrite\fR] [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\fR] .SS Flags: .IP "\fB\-t\fR" 4m .br Make NULL cells transparent .IP "\fB\-w\fR" 4m .br Output world file .IP "\fB\-\-overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBinput\fR=\fIname\fR \fB[required]\fR" 4m .br Name of input raster map .IP "\fBoutput\fR=\fIname\fR \fB[required]\fR" 4m .br Name for new PNG file (use \(cq\-\(cq for stdout) .IP "\fBcompression\fR=\fIinteger\fR" 4m .br Compression level of PNG file .br (0 = none, 1 = fastest, 9 = best) .br Options: \fI0\-9\fR .br Default: \fI6\fR .SH DESCRIPTION \fIr.out.png\fR exports a GRASS GIS raster map in non\-georeferenced Portable Network Graphics (PNG) image format, respecting the current region resolution and bounds. .PP Optionally the user can choose to export a World File (.wld) to provide basic georeferencing support. When used with the transparency flag this can create images useful for KML, TMS, or WMS overlays. (e.g. for use in Google Earth or as OpenLayers tiles) If output is redirected to stdout, the world file will be called png_map.wld. .SH EXAMPLE The example is based on the North Carolina sample data location. .PP Export of the soil map to PNG format with world file: .br .nf \fC g.region raster=soils_Kfactor \-p # export PNG file with additional world file r.out.png input=soils_Kfactor output=soils_Kfactor \-w # verify gdalinfo soils_Kfactor.png \fR .fi .SH SEE ALSO \fI r.out.gdal, r.out.ppm, r.out.ascii, r.import \fR .SH AUTHORS Alex Shevlakov .br Hamish Bowman .SH SOURCE CODE .PP Available at: r.out.png source code (history) .PP Main index | Raster index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual