|
| supportedTypes () |
|
| get_FormatsMap () |
|
| load ($data, $type) |
|
| destroy () |
|
| setDimensions () |
|
| getImage () |
|
| doScaleImage ($dest_width, $dest_height) |
|
| rotate ($degrees) |
|
| flip ($horiz=true, $vert=false) |
|
| cropImage ($max, $x, $y, $w, $h) |
|
| imageString () |
|
| 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) |
|
| imageString () |
|
| __construct ($data, $type='') |
|
| __destruct () |
|
| is_valid () |
|
| getWidth () |
|
| getHeight () |
|
| saveImage ($path) |
|
| getType () |
|
| getExt () |
|
| scaleImage ($max) |
|
| scaleImageUp ($min) |
|
| scaleImageSquare ($dim) |
|
| orient ($filename) |
|
| save ($arr) |
|
| store ($aid, $uid, $xchan, $rid, $filename, $album, $scale, $profile=0, $allow_cid= '', $allow_gid= '', $deny_cid= '', $deny_gid= '') |
|
photo_imagick::cropImage |
( |
|
$max, |
|
|
|
$x, |
|
|
|
$y, |
|
|
|
$w, |
|
|
|
$h |
|
) |
| |
photo_imagick::destroy |
( |
| ) |
|
photo_imagick::doScaleImage |
( |
|
$dest_width, |
|
|
|
$dest_height |
|
) |
| |
If it is not animated, there will be only one iteration here, so don't bother checking
Referenced by cropImage().
photo_imagick::flip |
( |
|
$horiz = true , |
|
|
|
$vert = false |
|
) |
| |
photo_imagick::get_FormatsMap |
( |
| ) |
|
photo_imagick::getImage |
( |
| ) |
|
photo_imagick::imageString |
( |
| ) |
|
photo_imagick::load |
( |
|
$data, |
|
|
|
$type |
|
) |
| |
Setup the image to the format it will be saved to
setup the compression here, so we'll do it only once
From http://www.imagemagick.org/script/command-line-options.php#quality:
'For the MNG and PNG image formats, the quality value sets the zlib compression level (quality / 10) and filter-type (quality % 10). The default PNG "quality" is 75, which means compression level 7 with adaptive PNG filtering, unless the image has a color map, in which case it means compression level 7 with no PNG filtering'
photo_imagick::rotate |
( |
|
$degrees | ) |
|
photo_imagick::setDimensions |
( |
| ) |
|
photo_imagick::supportedTypes |
( |
| ) |
|
The documentation for this class was generated from the following file: