Image\Adapter\Imagick
Class Phalcon\Image\Adapter\Imagick
extends abstract class Phalcon\Image\Adapter
implements Phalcon\Image\AdapterInterface
Image manipulation support. Allows images to be resized, cropped, etc.
$image = new Phalcon\Image\Adapter\Imagick("upload/test.jpg"); $image->resize(200, 200)->rotate(90)->crop(100, 100); if ($image->save()) { echo 'success'; }
Methods
public static boolean check ()
Checks if Imagick is enabled