Imagick::blueShiftImage

(No version information available, might only be in Git)
Description
public void Imagick::blueShiftImage ([ float $factor = 1.5 ] )

Mutes the colors of the image to simulate a scene at nighttime in the moonlight.

Parameters:
factor

Mutes the colors of the image to simulate a scene at nighttime in the moonlight.

Returns:
Examples:
Imagick::blueShiftImage()
<?php
function blueShiftImage($imagePath, $blueShift) {
    $imagick = new \Imagick(realpath($imagePath));
    $imagick->blueShiftImage($blueShift);
    header("Content-Type: image/jpg");
    echo $imagick->getImageBlob();
}

?>

doc_php
2016-02-24 16:00:49
Comments
Leave a Comment

Please login to continue.