Mutes the colors of the image to simulate a scene at nighttime in the moonlight.
function blueShiftImage($image_path, $blueShift)
{
    $imagick = new \Imagick(realpath($image_path));
    $imagick->blueShiftImage($blueShift);
    header("Content-Type: image/jpg");
    echo $imagick->getImageBlob();
}