Imagick
PHP Manual

Imagick::magnifyImage

(PECL imagick 2.0.0)

Imagick::magnifyImageScales an image proportionally 2x

说明

bool Imagick::magnifyImage ( void )

Is a convenience method that scales an image proportionally to twice its original size.

返回值

成功时返回 TRUE

错误/异常

错误时抛出 ImagickException。


Imagick
PHP Manual