Imagick::levelImage
Adjusts the levels of an image
Description
bool Imagick::levelImage
( float $blackPoint
, float $gamma
, float $whitePoint
[, int $channel
= Imagick::CHANNEL_ALL
] )
Parameters
-
blackPoint
-
The image black point
-
gamma
-
The gamma value
-
whitePoint
-
The image white point
-
channel
-
Provide any channel constant that is valid for your channel mode. To
apply to more than one channel, combine channeltype constants using
bitwise operators. Refer to this
list of channel constants.
Return Values
Returns TRUE
on success.
Errors/Exceptions
Throws ImagickException on error.