downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Imagick::contrastStretchImage> <Imagick::__construct
Last updated: Fri, 20 Nov 2009

view this page in

Imagick::contrastImage

(PECL imagick 2.0.0)

Imagick::contrastImageChange the contrast of the image

Descrierea

bool Imagick::contrastImage ( bool $sharpen )
Avertizare

Această funcţie nu este documentată în prezent; este disponibilă numai lista sa de argumente.

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.

Parametri

sharpen

The sharpen value

Valorile întroarse

Întoarce TRUE în caz de succes.

Erori/Excepţii

Aruncă ImagickException în caz de eroare.



add a note add a note User Contributed Notes
Imagick::contrastImage
goekar at msn dot com
08-Aug-2007 12:33
<?
$image
= new Imagick('test.jpg'); // open image file
$image->contrastImage(9); // 0 - 9
$image->writeImage('test2.jpg'); //save image
?>

Imagick::contrastStretchImage> <Imagick::__construct
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites