Module Export Image (bmp, jpg, pcx, png, tif)
The module allows one to save a grid as image.
Optionally, a shade grid can be overlayed and it's transparency and brightness can be adjusted.
- Author: O.Conrad (c) 2005
 
- Specification: grid
 
- Menu: File|Grid|Export
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Grid | Grid (input) | GRID | - | - | 
 | Shade (*) | Grid (optional input) | SHADE | - | - | 
 | Lookup Table (*) | Table (optional input) | LUT | - | - | 
| Options | Image File | File path | FILE | - | - | 
 | Create KML File | Boolean | FILE_KML | - | Default: 1 | 
 | Colouring | Choice | COLOURING | - | Available Choices: [0] stretch to grid's standard deviation [1] stretch to grid's value range [2] stretch to specified value range [3] lookup table [4] rgb coded values Default: 0 | 
 | Color Palette | Choice | COL_PALETTE | - | Available Choices: [0] DEFAULT [1] DEFAULT_BRIGHT [2] BLACK_WHITE [3] BLACK_RED [4] BLACK_GREEN [5] BLACK_BLUE [6] WHITE_RED [7] WHITE_GREEN [8] WHITE_BLUE [9] YELLOW_RED [10] YELLOW_GREEN [11] YELLOW_BLUE [12] RED_GREEN [13] RED_BLUE [14] GREEN_BLUE [15] RED_GREY_BLUE [16] RED_GREY_GREEN [17] GREEN_GREY_BLUE [18] RED_GREEN_BLUE [19] RED_BLUE_GREEN [20] GREEN_RED_BLUE [21] RAINBOW [22] NEON [23] TOPOGRAPHY [24] ASPECT_1 [25] ASPECT_2 [26] ASPECT_3 Default: 0 | 
 | Number of Colors | Integer | COL_COUNT | - | Default: 100 | 
 | Revert Palette | Boolean | COL_REVERT | - | Default: 0 | 
 | Standard Deviation | Floating point | STDDEV | - | Minimum: 0.000000 Default: 2.000000 | 
 | Stretch to Value Range | Value range | STRETCH | - | - | 
 | Shade Transparency [%] | Floating point | SHADE_TRANS | The transparency of the shade [%] | Minimum: 0.000000 Maximum: 100.000000 Default: 40.000000 | 
 | Shade Brightness [%] | Value range | SHADE_BRIGHT | Allows one to scale shade brightness [%] | - | 
| (*) optional | 
Command-line
Usage: saga_cmd io_grid_image 0 -GRID <str> [-SHADE <str>] [-FILE <str>] [-FILE_KML <str>] [-COLOURING <str>] [-COL_PALETTE <str>] [-COL_COUNT <num>] [-COL_REVERT <str>] [-STDDEV <str>] [-STRETCH_MIN <str>] [-STRETCH_MAX <str>] [-LUT <str>] [-SHADE_TRANS <str>] [-SHADE_BRIGHT_MIN <str>] [-SHADE_BRIGHT_MAX <str>]
  -GRID:<str>            	Grid
	Grid (input)
  -SHADE:<str>           	Shade
	Grid (optional input)
  -FILE:<str>            	Image File
	File path
  -FILE_KML:<str>        	Create KML File
	Boolean
	Default: 1
  -COLOURING:<str>       	Colouring
	Choice
	Available Choices:
	[0] stretch to grid's standard deviation
	[1] stretch to grid's value range
	[2] stretch to specified value range
	[3] lookup table
	[4] rgb coded values
	Default: 0
  -COL_PALETTE:<str>     	Color Palette
	Choice
	Available Choices:
	[0] DEFAULT
	[1] DEFAULT_BRIGHT
	[2] BLACK_WHITE
	[3] BLACK_RED
	[4] BLACK_GREEN
	[5] BLACK_BLUE
	[6] WHITE_RED
	[7] WHITE_GREEN
	[8] WHITE_BLUE
	[9] YELLOW_RED
	[10] YELLOW_GREEN
	[11] YELLOW_BLUE
	[12] RED_GREEN
	[13] RED_BLUE
	[14] GREEN_BLUE
	[15] RED_GREY_BLUE
	[16] RED_GREY_GREEN
	[17] GREEN_GREY_BLUE
	[18] RED_GREEN_BLUE
	[19] RED_BLUE_GREEN
	[20] GREEN_RED_BLUE
	[21] RAINBOW
	[22] NEON
	[23] TOPOGRAPHY
	[24] ASPECT_1
	[25] ASPECT_2
	[26] ASPECT_3
	Default: 0
  -COL_COUNT:<num>       	Number of Colors
	Integer
	Default: 100
  -COL_REVERT:<str>      	Revert Palette
	Boolean
	Default: 0
  -STDDEV:<str>          	Standard Deviation
	Floating point
	Minimum: 0.000000
	Default: 2.000000
  -STRETCH_MIN:<str>     	Stretch to Value Range
	Value range
  -STRETCH_MAX:<str>     	Stretch to Value Range
	Value range
  -LUT:<str>             	Lookup Table
	Table (optional input)
  -SHADE_TRANS:<str>     	Shade Transparency [%]
	Floating point
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 40.000000
  -SHADE_BRIGHT_MIN:<str>	Shade Brightness [%]
	Value range
  -SHADE_BRIGHT_MAX:<str>	Shade Brightness [%]
	Value range