SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Change Color Format

This tool allows one to convert table fields from SAGA RGB to R, G, B values and vice versa.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputTableTable, inputTABLEThe input table-
OutputOutput (*)Table, output, optionalOUTPUTThe output table-
OptionsSAGA RGB (*)Table fieldFIELD_SAGA_RGBThe field with SAGA RGB values-
Red (*)Table fieldFIELD_REDThe field with R values (0-255)-
Green (*)Table fieldFIELD_GREENThe field with G values (0-255)-
Blue (*)Table fieldFIELD_BLUEThe field with B values (0-255)-
Mode of OperationChoiceMODEChoose the mode of operationAvailable Choices:
[0] SAGA RGB to R, G, B
[1] R, G, B to SAGA RGB
Default: 0
(*) optional

Command-line

Usage: saga_cmd table_tools 9 [-TABLE <str>] [-OUTPUT <str>] [-FIELD_SAGA_RGB <str>] [-FIELD_RED <str>] [-FIELD_GREEN <str>] [-FIELD_BLUE <str>] [-MODE <str>]
  -TABLE:<str>         	Table
	Table, input
  -OUTPUT:<str>        	Output
	Table, output, optional
  -FIELD_SAGA_RGB:<str>	SAGA RGB
	Table field
  -FIELD_RED:<str>     	Red
	Table field
  -FIELD_GREEN:<str>   	Green
	Table field
  -FIELD_BLUE:<str>    	Blue
	Table field
  -MODE:<str>          	Mode of Operation
	Choice
	Available Choices:
	[0] SAGA RGB to R, G, B
	[1] R, G, B to SAGA RGB
	Default: 0