HomeImagickImagickDrawImagickPixelImagick Pixel IteratorImagick KernelDevelopmentTutorial Source codeReport an issue
Category
Example

Imagick::autoGammaImage

← averageImages   autoLevelImage →

Example

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