HomeImagickImagickDrawImagickPixelImagick Pixel IteratorImagick KernelTutorial Source codeReport an issue
Category
Example

Imagick::autoGammaImage

← averageImages   autoLevelImage →
function autoGammaImage($image_path)
{
    $imagick = new \Imagick(realpath($image_path));
    $imagick->autoGammaImage();
    header("Content-Type: image/jpeg");
    echo $imagick->getImageBlob();
}