Documentation

Abstract class Phalcon\Image

Source on GitHub

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

<?php

$image = Phalcon\Image::factory("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 NARROW

integer HORIZONTAL

integer VERTICAL

integer GD

integer IMAGICK

Methods

public static factory (unknown $file, [unknown $width], [unknown $height])

...