write_lutT_write_lutWriteLutWriteLut (Operator)
Name
write_lutT_write_lutWriteLutWriteLut
— Write look-up-table (lut) as file.
Warning
write_lutwrite_lutWriteLutWriteLutWriteLut
is obsolete and is only provided for
reasons of backward compatibility.
Signature
Description
write_lutwrite_lutWriteLutWriteLutWriteLut
saves the look-up-table (resp. the part of it that
is relevant for displaying image gray values) of the valid output
window into a file named 'FileNameFileNameFileNameFileNamefileName
.lut'. It can be read again
later with set_lutset_lutSetLutSetLutSetLut
.
Attention
write_lutwrite_lutWriteLutWriteLutWriteLut
is only suitable for systems using 256 colors.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle
(input_control) window →
HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
FileNameFileNameFileNameFileNamefileName
(input_control) filename.write →
HTupleHTupleHtuple (string) (string) (HString) (char*)
File name (of file containing the look-up-table).
Default value:
'/tmp/lut'
"/tmp/lut"
"/tmp/lut"
"/tmp/lut"
"/tmp/lut"
File extension: .lut
Result
write_lutwrite_lutWriteLutWriteLutWriteLut
returns 2 (H_MSG_TRUE) if the window with the required
properties (256 colors) is valid and the parameter (file name) is
correct. Otherwise an exception is raised.
Possible Predecessors
set_lutset_lutSetLutSetLutSetLut
See also
set_lutset_lutSetLutSetLutSetLut
,
set_pixelset_pixelSetPixelSetPixelSetPixel
,
get_pixelget_pixelGetPixelGetPixelGetPixel
Module
Foundation