ga_lookup_colors_get | ( name, rgb ) |
Description: | ||
Get the colors defined in LUT. | ||
Input: | ||
STRING | name[] | LUT name. |
Output: | ||
REAL | rgb ( ,3) | Colors in LUT. |
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_colors_set | ( name, offset, number, rgb ) |
Description: | ||
Set the LUT’s colors. | ||
Input: | ||
STRING | name[] | LUT name. |
INTEGER | offset | Start position. |
INTEGER | number | Number of colors in LUT. |
REAL | rgb ( ,3) | Triplets of RGB values. |
Output: | ||
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000026 | The lookup table is invalid. | |
11000028 | An incorrect offset was specified in lookup table. | |
11000027 | An incorrect number of colors was specified for lookup table. | |
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_create | ( name, number, rgb ) |
Description: | ||
Create a lookup table. | ||
Input: | ||
STRING | name[] | LUT name. |
INTEGER | number | Number of colors in LUT. |
REAL | rgb ( ,3) | Triplets of RGB values. |
Output: | ||
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000026 | The lookup table is invalid. | |
11000027 | An incorrect number of colors was specified for lookup table. | |
11000097 | There is not enough disk space to complete operation. | |
11000025 | A lookup table with the given name is already in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_current_get | ( name ) |
Description: | ||
Get the current LUT. | ||
Input: | ||
None. | ||
Output: | ||
STRING | name[] | LUT name. |
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_current_set | ( name ) |
Description: | ||
Set the current LUT. | ||
Input: | ||
STRING | name[] | LUT name. |
Output: | ||
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000026 | The lookup table is invalid. | |
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_delete | ( name ) |
Description: | ||
Delete a LUT. | ||
Input: | ||
STRING | name[] | Display name. |
Output: | ||
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000026 | The lookup table is invalid. | |
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_ncolors_get | ( name, number ) |
Description: | ||
Get the number of colors defined in LUT. | ||
Input: | ||
STRING | name[] | LUT name. |
Output: | ||
INTEGER | number | Number of colors. |
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000026 | The lookup table is invalid. | |
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_ntables_get | ( ntables ) |
Description: | ||
Get the number of luts in database. | ||
Input: | ||
None. | ||
Output: | ||
INTEGER | ntables | Number of luts. |
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_rename | ( old_name, new_name ) |
Description: | ||
Rename a LUT. | ||
Input: | ||
STRING | old_name[] | Old LUT name. |
STRING | new_name[] | New LUT name. |
Output: | ||
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000026 | The lookup table is invalid. | |
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |
ga_lookup_tables_get | ( ntables ) |
Description: | ||
Get the list of luts in database. | ||
Input: | ||
None. | ||
Output: | ||
STRING | ntables [ ] ( ) | List of lut names. |
INTEGER | <Return Value> | See error conditions. |
Error Conditions: | ||
11000102 | The specified lookup table was not found in the database. | |
11000098 | A fatal error has occurred in the database. Database is corrupted. |