DJ Mike's Tutorials: PHP

Imagick Functions

^

Imagick::solarizeImage

Description:
bool Imagick::solarizeImage ( int $threshold )

Applies a special effect to the image, similar to the effect achieved in a photo darkroom by selectively exposing areas of photo sensitive paper to light.
Parameters:
threshold
Threshold ranges from 0 to QuantumRange and is a measure of the extent of the solarization.
Return Values
Returns TRUE on success.

Example

<?php 
header
('Content-type: image/jpeg'); 
$image = new Imagick("opossum.jpg"); 
$image->solarizeimage(49500); 
echo 
$image
?>


^


Was this webpage useful to you? You can support this website by donating.


Created by DJ Mike from Santa Barbara

DJ Mike


<a href="http://www.statcounter.com/" target="_blank"> <img src="http://c5.statcounter.com/counter.php?sc_project=1321035&java=0&security=da2193dc" alt="counter free hit invisible" border="0" /></a>