Hue / Saturation / Brightness Issue ...
Posted: 2008-05-05T03:53:45-07:00
I'm using Imagick / ImageMagick with PHP
PHP 5.1.6 (cli)
Version: ImageMagick 6.3.7 01/09/08 Q16 http://www.imagemagick.org
I have a problem adjusting the Hue/Saturation/Brightness. Everytime i make an adjustment, the photo goes completely black.
I've played around with it, but I can't seem to get it to work right. Everything else works fine, I can resize, crop, create effects etc... Imagick seems to be installed properly. So is this a bug then or what ?
PHP 5.1.6 (cli)
Version: ImageMagick 6.3.7 01/09/08 Q16 http://www.imagemagick.org
I have a problem adjusting the Hue/Saturation/Brightness. Everytime i make an adjustment, the photo goes completely black.
Code: Select all
( $val == 'more') ? ( $d = 100 && $e=90 ) : ( $d=-100 && $e=-90 ) ;
// Modulate Image - Brightness, Saturation, Hue
$r_pic->modulateImage($d,$d,$e);