SAGA-GIS Tool Library Documentation (v9.2.0)

Tool Export Image (bmp, jpg, pcx, png, tif)

With this tool you can save a grid to an image file. Optionally, a shade grid can be overlayed using the specified transparency and brightness adjustment.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputGRID--
Shade (*)grid, input, optionalSHADE--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Image Filefile pathFILE--
Create World FilebooleanFILE_WORLDStore georeference along image to an additional file.Default: 1
Create KML FilebooleanFILE_KMLExpects that the input grid uses geographic coordinates.Default: 0
Set Transparency for No-DatabooleanNO_DATA-Default: 1
ColoringchoiceCOLOURING-Available Choices:
[0] histogram stretch to standard deviation
[1] histogram stretch to percentage range
[2] histogram stretch to value range
[3] lookup table
[4] rgb coded values
Default: 0
Number of Colorsinteger numberCOL_COUNT-Default: 100
Revert PalettebooleanCOL_REVERT-Default: 0
Colors PalettecolorsCOL_PALETTE--
Graduated ColorsbooleanGRADUATED-Default: 1
Standard Deviationfloating point numberSTDDEV-Minimum: 0.000000
Default: 2.000000
Percentage Rangevalue rangeLINEAR--
Value Rangevalue rangeSTRETCH--
ScalingchoiceSCALE_MODEScaling applied to coloring choices (i) grid's standard deviation, (ii) grid's value range, (iii) specified value rangeAvailable Choices:
[0] linear intervals
[1] increasing geometrical intervals
[2] decreasing geometrical intervals
Default: 0
Geometrical Interval Factorfloating point numberSCALE_LOG-Minimum: 0.001000
Default: 10.000000
Lookup Tablestatic tableLUT-5 Fields:
- 1. [color] Color
- 2. [string] Name
- 3. [string] Description
- 4. [8 byte floating point number] Minimum
- 5. [8 byte floating point number] Maximum
Transparencyfloating point numberSHADE_TRANSThe transparency of the shade [%]Minimum: 0.000000
Maximum: 100.000000
Default: 75.000000
Histogram StretchchoiceSHADE_COLOURING-Available Choices:
[0] Linear
[1] Standard Deviation
Default: 0
Linearvalue rangeSHADE_BRIGHTMinimum and maximum [%], the range for histogram stretch.-
Standard Deviationfloating point numberSHADE_STDDEV-Minimum: 0.000000
Default: 2.000000
(*) optional

Command-line

Usage: saga_cmd io_grid_image 0 [-GRID <str>] [-SHADE <str>] [-FILE <str>] [-FILE_WORLD <str>] [-FILE_KML <str>] [-NO_DATA <str>] [-COLOURING <str>] [-COL_COUNT <num>] [-COL_REVERT <str>] [-COL_PALETTE <str>] [-GRADUATED <str>] [-STDDEV <double>] [-LINEAR_MIN <double>] [-LINEAR_MAX <double>] [-STRETCH_MIN <double>] [-STRETCH_MAX <double>] [-SCALE_MODE <str>] [-SCALE_LOG <double>] [-LUT <str>] [-SHADE_TRANS <double>] [-SHADE_COLOURING <str>] [-SHADE_BRIGHT_MIN <double>] [-SHADE_BRIGHT_MAX <double>] [-SHADE_STDDEV <double>]
  -GRID:<str>               	Grid
	grid, input
  -SHADE:<str>              	Shade
	grid, input, optional
  -FILE:<str>               	Image File
	file path
  -FILE_WORLD:<str>         	Create World File
	boolean
	Default: 1
  -FILE_KML:<str>           	Create KML File
	boolean
	Default: 0
  -NO_DATA:<str>            	Set Transparency for No-Data
	boolean
	Default: 1
  -COLOURING:<str>          	Coloring
	choice
	Available Choices:
	[0] histogram stretch to standard deviation
	[1] histogram stretch to percentage range
	[2] histogram stretch to value range
	[3] lookup table
	[4] rgb coded values
	Default: 0
  -COL_COUNT:<num>          	Number of Colors
	integer number
	Default: 100
  -COL_REVERT:<str>         	Revert Palette
	boolean
	Default: 0
  -COL_PALETTE:<str>        	Colors Palette
	colors
  -GRADUATED:<str>          	Graduated Colors
	boolean
	Default: 1
  -STDDEV:<double>          	Standard Deviation
	floating point number
	Minimum: 0.000000
	Default: 2.000000
  -LINEAR_MIN:<double>      	Percentage Range
	value range
  -LINEAR_MAX:<double>      	Percentage Range
	value range
  -STRETCH_MIN:<double>     	Value Range
	value range
  -STRETCH_MAX:<double>     	Value Range
	value range
  -SCALE_MODE:<str>         	Scaling
	choice
	Available Choices:
	[0] linear intervals
	[1] increasing geometrical intervals
	[2] decreasing geometrical intervals
	Default: 0
  -SCALE_LOG:<double>       	Geometrical Interval Factor
	floating point number
	Minimum: 0.001000
	Default: 10.000000
  -LUT:<str>                	Lookup Table
	static table
	5 Fields:
	- 1. [color] Color
	- 2. [string] Name
	- 3. [string] Description
	- 4. [8 byte floating point number] Minimum
	- 5. [8 byte floating point number] Maximum
	
  -SHADE_TRANS:<double>     	Transparency
	floating point number
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 75.000000
  -SHADE_COLOURING:<str>    	Histogram Stretch
	choice
	Available Choices:
	[0] Linear
	[1] Standard Deviation
	Default: 0
  -SHADE_BRIGHT_MIN:<double>	Linear
	value range
  -SHADE_BRIGHT_MAX:<double>	Linear
	value range
  -SHADE_STDDEV:<double>    	Standard Deviation
	floating point number
	Minimum: 0.000000
	Default: 2.000000