I'm trying to use MagickWand to manipulate an images brightness, but it doesn't seem to be working. Here is the code I have:
PHP Code:
$original = $config['sitePath'] . $imageConfig['thumbDirectory'] . $_GET['id'] . '/1.jpg';
$magick_wand = NewMagickWand();
MagickReadImage($magick_wand,$original);
MagickModulateImage($magick_wand,2,0,0);
MagickWriteImage($magick_wand,$original);
Can anyone tell me what I'm doing wrong? It's not giving me any errors.