19-05-2015, 12:59 PMDarSider Wrote: 19-05-2015, 12:50 PMAndresXZ09 Wrote: Code:<?php function modulateImage($imagePath, $hue, $brightness, $saturation) { $imagick = new \Imagick(realpath($imagePath)); $imagick->modulateImage($saturation, $hue); header("Content-Type: image/jpg"); echo $imagick->getImageBlob(); } ?> Pretty much that's an example of the modulateImageWhy not doing this with JS :noh: So we won't use imagick stuff Isn't it ?
19-05-2015, 12:50 PMAndresXZ09 Wrote: Code:<?php function modulateImage($imagePath, $hue, $brightness, $saturation) { $imagick = new \Imagick(realpath($imagePath)); $imagick->modulateImage($saturation, $hue); header("Content-Type: image/jpg"); echo $imagick->getImageBlob(); } ?> Pretty much that's an example of the modulateImage
<?php function modulateImage($imagePath, $hue, $brightness, $saturation) { $imagick = new \Imagick(realpath($imagePath)); $imagick->modulateImage($saturation, $hue); header("Content-Type: image/jpg"); echo $imagick->getImageBlob(); } ?>
Loading Info...