This module is used to manipulate an image. It uses ImageMagick convert so it can accept a wide range of image formats.
Definition at line 11 of file image.inc.php.
Static Public Member Functions | |
rotate ($inputFile, $outputFile, $degrees) | |
Rotates the given file $degrees clockwise. | |
flip ($inputFile, $outputFile, $type) | |
Flips the given file horizontally or vertically. | |
resize ($inputFile, $outputFile, $maxDimension, $execute=true) | |
Resizes an image so that no dimension is larger than $maxDimension If the images largest size is smaller than $maxDimension nothing is done. | |
crop ($inputFile, $outputFile, $dimensions) | |
Crops an image. | |
convert ($inputFile, $outputFile, $flags="") | |
Front end for ImageMagick convert. | |
scale ($inputFile, $outputFile, $width=null, $height=null, $force=false) | |
Front end for ImageMagick convert. |
|
Front end for ImageMagick convert.
Converts
Definition at line 119 of file image.inc.php. References Util::shellExec(). |
|
Crops an image.
Definition at line 101 of file image.inc.php. References Util::shellExec(). |
|
Flips the given file horizontally or vertically.
Definition at line 42 of file image.inc.php. References Util::shellExec(). |
|
Resizes an image so that no dimension is larger than
Definition at line 68 of file image.inc.php. References Util::shellExec(). Referenced by BaseImage::resizeToSize(). |
|
Rotates the given file
Definition at line 20 of file image.inc.php. References Util::shellExec(). |
|
Front end for ImageMagick convert.
Converts
Definition at line 140 of file image.inc.php. References Util::shellExec(). |