Image\Adapter::flip

public flip (mixed $direction) Flip the image along the horizontal or vertical axis

Image\Adapter::crop

public crop (mixed $width, mixed $height, [mixed $offsetX], [mixed $offsetY]) Crop an image to the given size

Image\Adapter::blur

public blur (mixed $radius) Blur image

Image\Adapter::background

public background (mixed $color, [mixed $opacity]) Set the background color of an image

Image\Adapter

Source on GitHub All image adapters must use this class Methods public getImage () ... public getRealpath () ... public getWidth () Image width public getHeight () Image height public getType () Image type Driver dependent public getMime () Image mime type public resize ([mixed $width], [mixed $height], [mixed $master]) Resize the image to the given size public liquidRescale (mixed $width, mixed $height, [mixed $deltaX], [mixed $rigidity]) This method scales the images using liquid rescaling me

Images

Phalcon\Image is the component that allows you to manipulate image files. Multiple operations can be performed on the same image object. This guide is not intended to be a complete documentation of available methods and their arguments. Please visit the API for a complete reference. Adapters This component makes use of adapters to encapsulate specific image manipulator programs. The following image manipulator programs are supported: Class Description Phalcon\Image\Adapter\Gd Requires the GD

Image::WIDTH

integer WIDTH

Image::VERTICAL

integer VERTICAL

Image::TENSILE

integer TENSILE

Image::PRECISE

integer PRECISE