Scales an image proportionally 2x
Is a convenience method that scales an image proportionally to twice its original size.
Returns TRUE on success.
TRUE
Throws ImagickException on error.
Example #1 Imagick::magnifyImage
<?phpfunction magnifyImage($imagePath) { $imagick = new \Imagick(realpath($imagePath)); $imagick->magnifyImage(); header("Content-Type: image/jpg"); echo $imagick->getImageBlob();}?>