XOOPS
2.6.0
|
Public Member Functions | |
__construct ($fileName)#Author | |
cropImage ($newWidth, $newHeight, $cropPos= 'm')#Author | |
resizeImage ($newWidth, $newHeight, $option=0, $sharpen=false, $autoRotate=false)#Author | |
Protected Attributes | |
$imageResized | |
Private Member Functions | |
crop ($optimalWidth, $optimalHeight, $newWidth, $newHeight, $cropPos)#Author | |
getCropPlacing ($optimalWidth, $optimalHeight, $newWidth, $newHeight, $pos='m')##Author | |
getDimensions ($newWidth, $newHeight, $option)#Author | |
getOptimalCrop ($newWidth, $newHeight)#Author | |
getSizeByAuto ($newWidth, $newHeight)#Author | |
getSizeByFixedHeight ($newWidth, $newHeight) | |
getSizeByFixedWidth ($newWidth, $newHeight) | |
initialise () | |
keepTransparancy ($width, $height, $im)#Author | |
sharpen ()#Author | |
sharpen2 ($level) | |
Private Attributes | |
$aggresiveSharpening = false | |
$captionBoxPositionArray = array() | |
$cropFromTopPercent = 10 | |
$debug = true | |
$errorArray = array() | |
$fileExtension | |
$fileName | |
$fillColorArray = array('r'=>255, 'g'=>255, 'b'=>255) | |
$filterOverlayPath | |
$fontDir = 'fonts' | |
$forceStretch = true | |
$height | |
$heightOriginal | |
$image | |
$imageSize | |
$isInterlace | |
$keepTransparency = true | |
$psdReaderPath | |
$sharpenArray = array('jpg') | |
$transparentArray = array('.png', '.gif') | |
$width | |
$widthOriginal | |
Definition at line 163 of file php_image_magician.php.
imageLib::__construct | ( | $fileName | ) |
Definition at line 202 of file php_image_magician.php.
References $fileName, $image, fix_strtolower(), and initialise().
|
private |
Definition at line 427 of file php_image_magician.php.
References getCropPlacing(), and keepTransparancy().
Referenced by cropImage(), and resizeImage().
imageLib::cropImage | ( | $newWidth, | |
$newHeight, | |||
$cropPos = 'm' |
|||
) |
Definition at line 377 of file php_image_magician.php.
References $image, and crop().
|
private |
Definition at line 459 of file php_image_magician.php.
References fix_strtolower().
Referenced by crop().
|
private |
Definition at line 554 of file php_image_magician.php.
References getOptimalCrop(), getSizeByAuto(), getSizeByFixedHeight(), and getSizeByFixedWidth().
Referenced by resizeImage().
|
private |
Definition at line 722 of file php_image_magician.php.
Referenced by getDimensions().
|
private |
Definition at line 657 of file php_image_magician.php.
References getSizeByFixedHeight(), and getSizeByFixedWidth().
Referenced by getDimensions().
|
private |
Definition at line 615 of file php_image_magician.php.
References $height.
Referenced by getDimensions(), and getSizeByAuto().
|
private |
Definition at line 636 of file php_image_magician.php.
References $width.
Referenced by getDimensions(), and getSizeByAuto().
|
private |
Definition at line 255 of file php_image_magician.php.
Referenced by __construct().
|
private |
Definition at line 403 of file php_image_magician.php.
References $width.
Referenced by crop(), and resizeImage().
Definition at line 271 of file php_image_magician.php.
References crop(), fix_strtolower(), getDimensions(), keepTransparancy(), option, and sharpen().
|
private |
Definition at line 780 of file php_image_magician.php.
Referenced by resizeImage().
|
private |
Definition at line 826 of file php_image_magician.php.
|
private |
Definition at line 180 of file php_image_magician.php.
|
private |
Definition at line 193 of file php_image_magician.php.
|
private |
Definition at line 197 of file php_image_magician.php.
|
private |
Definition at line 176 of file php_image_magician.php.
|
private |
Definition at line 177 of file php_image_magician.php.
|
private |
Definition at line 174 of file php_image_magician.php.
|
private |
Definition at line 166 of file php_image_magician.php.
Referenced by __construct().
|
private |
Definition at line 184 of file php_image_magician.php.
|
private |
Definition at line 189 of file php_image_magician.php.
|
private |
Definition at line 195 of file php_image_magician.php.
|
private |
Definition at line 179 of file php_image_magician.php.
|
private |
Definition at line 172 of file php_image_magician.php.
Referenced by getSizeByFixedHeight().
|
private |
Definition at line 170 of file php_image_magician.php.
|
private |
Definition at line 167 of file php_image_magician.php.
Referenced by __construct(), and cropImage().
|
protected |
Definition at line 168 of file php_image_magician.php.
|
private |
Definition at line 173 of file php_image_magician.php.
|
private |
Definition at line 191 of file php_image_magician.php.
|
private |
Definition at line 183 of file php_image_magician.php.
|
private |
Definition at line 188 of file php_image_magician.php.
|
private |
Definition at line 186 of file php_image_magician.php.
|
private |
Definition at line 182 of file php_image_magician.php.
|
private |
Definition at line 171 of file php_image_magician.php.
Referenced by getSizeByFixedWidth(), and keepTransparancy().
|
private |
Definition at line 169 of file php_image_magician.php.