Image
Width
Height
X
Y
Raise
function raiseImage($imagePath, $width, $height, $x, $y, $raise)
{
    $imagick = new \Imagick(realpath($imagePath));

    //x and y do nothing?
    $imagick->raiseImage($width, $height, $x, $y, $raise);
    header("Content-Type: image/jpg");
    echo $imagick->getImageBlob();
}