|
| supportedTypes () |
|
| load ($data, $type) |
|
| destroy () |
|
| setDimensions () |
|
| getImage () |
|
| doScaleImage ($new_width, $new_height) |
|
| rotate ($degrees) |
|
| flip ($horiz=true, $vert=false) |
|
| cropImage ($max, $x, $y, $w, $h) |
|
| cropImageRect ($maxx, $maxy, $x, $y, $w, $h) |
|
| imageString () |
|
| __construct ($data, $type='') |
|
| __destruct () |
|
| is_valid () |
|
| getWidth () |
|
| getHeight () |
|
| saveImage ($path) |
|
| getType () |
|
| getExt () |
|
| scaleImage ($max, $float_height=true) |
| scale image int $max maximum pixel size in either dimension boolean $float_height - if true allow height to float to any length on tall images, constraining only the width More...
|
|
| scaleImageUp ($min) |
|
| scaleImageSquare ($dim) |
|
| exif ($filename) |
| reads exif data from filename More...
|
|
| orient ($exif) |
| orients current image based on exif orientation information More...
|
|
| save ($arr) |
|
photo_driver::__construct |
( |
|
$data, |
|
|
|
$type = '' |
|
) |
| |
photo_driver::__destruct |
( |
| ) |
|
photo_driver::cropImage |
( |
|
$max, |
|
|
|
$x, |
|
|
|
$y, |
|
|
|
$w, |
|
|
|
$h |
|
) |
| |
|
abstract |
photo_driver::cropImageRect |
( |
|
$maxx, |
|
|
|
$maxy, |
|
|
|
$x, |
|
|
|
$y, |
|
|
|
$w, |
|
|
|
$h |
|
) |
| |
|
abstract |
photo_driver::destroy |
( |
| ) |
|
|
abstract |
photo_driver::doScaleImage |
( |
|
$new_width, |
|
|
|
$new_height |
|
) |
| |
|
abstract |
photo_driver::exif |
( |
|
$filename | ) |
|
reads exif data from filename
photo_driver::flip |
( |
|
$horiz = true , |
|
|
|
$vert = false |
|
) |
| |
|
abstract |
photo_driver::getHeight |
( |
| ) |
|
photo_driver::getImage |
( |
| ) |
|
|
abstract |
photo_driver::getType |
( |
| ) |
|
photo_driver::getWidth |
( |
| ) |
|
photo_driver::imageString |
( |
| ) |
|
|
abstract |
photo_driver::is_valid |
( |
| ) |
|
Referenced by __destruct(), photo_gd\cropImage(), photo_imagick\cropImage(), photo_gd\cropImageRect(), photo_imagick\cropImageRect(), photo_gd\destroy(), photo_imagick\destroy(), photo_gd\flip(), photo_imagick\flip(), getExt(), getHeight(), photo_gd\getImage(), photo_imagick\getImage(), getType(), getWidth(), photo_gd\imageString(), photo_imagick\imageString(), orient(), photo_gd\rotate(), photo_imagick\rotate(), save(), saveImage(), scaleImage(), scaleImageSquare(), and scaleImageUp().
photo_driver::load |
( |
|
$data, |
|
|
|
$type |
|
) |
| |
|
abstract |
photo_driver::orient |
( |
|
$exif | ) |
|
orients current image based on exif orientation information
photo_driver::rotate |
( |
|
$degrees | ) |
|
|
abstract |
photo_driver::save |
( |
|
$arr | ) |
|
photo_driver::saveImage |
( |
|
$path | ) |
|
photo_driver::scaleImage |
( |
|
$max, |
|
|
|
$float_height = true |
|
) |
| |
scale image int $max maximum pixel size in either dimension boolean $float_height - if true allow height to float to any length on tall images, constraining only the width
photo_driver::scaleImageSquare |
( |
|
$dim | ) |
|
photo_driver::scaleImageUp |
( |
|
$min | ) |
|
photo_driver::setDimensions |
( |
| ) |
|
|
abstract |
photo_driver::supportedTypes |
( |
| ) |
|
|
abstract |
The documentation for this class was generated from the following file: