|
Description
DBWriteLUT() is used to write a 256-entry lookup table from a byte array into a database segment.
Call Signature
int DBWriteLUT ( int/string filespec, int segment_num, byte ptr buffer )
Return Value
int
Returns the segment number written to. This is primarily useful when a new segment has been created.
Arguments
int/string filespec:
This can either be the handle returned by DBOpen(), or the name of an open file.
int segment_num:
The segment number containing the LUT to be written over. If this is zero and the database is a PCIDSK file, a new LUT segment will be created.
byte ptr buffer:
An array of at least 256 bytes from which the lookup table is written.
See also
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.