write_lutT_write_lutWriteLutWriteLutwrite_lut (Operator)
Name
write_lutT_write_lutWriteLutWriteLutwrite_lut
— Write look-up-table (lut) as file.
Warning
write_lutwrite_lutWriteLutWriteLutWriteLutwrite_lut
is obsolete and is only provided for
reasons of backward compatibility.
Signature
Description
write_lutwrite_lutWriteLutWriteLutWriteLutwrite_lut
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 'FileNameFileNameFileNameFileNamefileNamefile_name
.lut'. It can be read again
later with set_lutset_lutSetLutSetLutSetLutset_lut
.
Attention
write_lutwrite_lutWriteLutWriteLutWriteLutwrite_lut
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
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
(input_control) window →
HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
FileNameFileNameFileNameFileNamefileNamefile_name
(input_control) filename.write →
HTuplestrHTupleHtuple (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"
"/tmp/lut"
File extension: .lut
Result
write_lutwrite_lutWriteLutWriteLutWriteLutwrite_lut
returns 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_lutSetLutSetLutSetLutset_lut
See also
set_lutset_lutSetLutSetLutSetLutset_lut
,
set_pixelset_pixelSetPixelSetPixelSetPixelset_pixel
,
get_pixelget_pixelGetPixelGetPixelGetPixelget_pixel
Module
Foundation