Home > PHP > Function > > Imagick::contrastImage()

Imagick::contrastImage()

Imagick::contrastImage - Change the contrast of the image

Syntax

bool Imagick::contrastImage (bool $sharpen)

Arguments

  • sharpen - The sharpen value

Description

Enhances the intensity differences between the lighter and darker elements of the image. Set sharpen to a value other than 0 to increase the image contrast otherwise the contrast is reduced.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.