Reputation: 1
I am trying to change only the brightness of an image using imagick PHP object, I found only the modulateImage function that accepts three parameters "Brightness,Saturation and Hue" but I do not know what the relationship between them to just change brightness is. I only want to change brightness and keep the rest the same. Is it possible? How?
Upvotes: 0
Views: 4101
Reputation: 25711
Imagick::modulateimage is the correct function to use to adjust any of the brightness, contrast or hue of an image.
There is an online example you can fiddle with on the PHP Imagick example site.
Upvotes: 1