LUTREAD

Loads an graphics device lookup table from an NDF

Description:

This application reads a lookup table  stored in an NDF  with the standard format, and loads it into the current graphics device. device.

Usage:

lutread lut

Arguments

LUT = LITERAL (Read)
The file containing the lookup table. It is passed to the Parameter LUT but not validated.

Parameters:

DEVICE = DEVICE (Read)
Name of the graphics device whose colour table is to be changed. [Current graphics device]
LUT = NDF (Read)
Name of the NDF containing the lookup table as its data array. The LUT must be two-dimensional, the first dimension being 3, and the second being arbitrary. Linear interpolation is used to compress or expand the colour table if the second dimension is different from the number of unreserved colour indices. Also the LUT’s values must lie in the range 0.0–1.0.

Notes:

This is a procedure that calls LUTABLE. Therefore, the parameters cannot be specified on the command line. You will only be prompted for the parameters if the device is not suitable or not available, and/or the lookup table file could not be accessed.