ImageEn, unit imageenproc

TImageEnProc.AdjustLevels

TImageEnProc.AdjustLevels


Declaration

procedure AdjustLevels(Shadow: integer; MidTone: integer; Highlight: integer; OutShadow: integer; OutHighlight: integer);


Description

Perform level adjustment with midtone.

Note: Null values (causing no change) would be: AdjustLevels( 0, 128, 255, 0, 255 );

Parameter Description
Shadow Low input value (0-255)
MidTone Midtone input value (0-255, 128 = linear adjustment)
Highlight High input value (0-255)
OutShadow Low output value (0-255)
OutHighlight High output value (0-255)