W3cubDocs

/Phalcon 2

Abstract class Phalcon\Image

Image manipulation support. Allows images to be resized, cropped, etc.

$image = new Phalcon\Image\Adapter\GD("upload/test.jpg");
$image->resize(200, 200);
$image->save();

Constants

integer NONE

integer WIDTH

integer HEIGHT

integer AUTO

integer INVERSE

integer PRECISE

integer TENSILE

integer HORIZONTAL

integer VERTICAL

integer GD

integer IMAGICK

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Image.html