<?
$image = new Imagick('test.jpg'); // open image file
$image->contrastImage(9); // 0 - 9
$image->writeImage('test2.jpg'); //save image
?>
Imagick::contrastImage
(PECL imagick 2.0.0)
Imagick::contrastImage — Change the contrast of the image
Beschreibung
bool Imagick::contrastImage
( bool $sharpen
)
Warnung
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
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.
Parameter-Liste
- sharpen
-
The sharpen value
Rückgabewerte
Liefert TRUE bei Erfolg.
Fehler/Exceptions
Wirft ImagickException bei Fehlern.
Imagick::contrastImage
goekar at msn dot com
08-Aug-2007 02:33
08-Aug-2007 02:33
