Gmagick::levelimage
Adjusts the levels of an image
Description
public mixed Gmagick::levelimage(
float $blackPoint
,
float $gamma
,
float $whitePoint
,
int $channel
= Gmagick::CHANNEL_DEFAULT
)
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
Gmagick object with image leveled.
Errors/Exceptions
Throws an
GmagickException on error.