SAGA-GIS Tool Library Documentation (v6.3.0)

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 (input)TABLEThe input table-
OutputOutput (*)Table (optional output)OUTPUTThe 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>] [-FIELD_SAGA_RGB <str>] [-FIELD_RED <str>] [-FIELD_GREEN <str>] [-FIELD_BLUE <str>] [-OUTPUT <str>] [-MODE <str>]
  -TABLE:<str>         	Table
	Table (input)
  -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
  -OUTPUT:<str>        	Output
	Table (optional output)
  -MODE:<str>          	Mode of Operation
	Choice
	Available Choices:
	[0] SAGA RGB to R,G,B
	[1] R,G,B to SAGA RGB
	Default: 0