|
| __construct ($rImageHandle) |
|
| setSize ($iWidth, $iHeight, $iMode=self::RESIZE_TO_WIDTH) |
|
| getOriginalWidth () |
|
| getOriginalHeight () |
|
| getWidth () |
|
| getHeight () |
|
| getScalingFactor () |
|
| getImageHandle () |
|
| setFileType ($sFileType) |
|
| getFileType () |
|
| addText ($sFontFilePath, $sText, $iOpacity, $iFontSize, $iRed, $iGreen, $iBlue, $iX=0, $iY=0, $iRotationAngle=0) |
|
| addWatermark ($sFontFilePath, $sText) |
|
| fill ($iRed, $iGreen, $iBlue, $iAlpha=0) |
|
| filterGrayscale () |
|
| filterInvert () |
|
| filterMeanRemoval () |
|
| filterEdgeDetect () |
|
| filterEmboss () |
|
| filterColorize ($iRed, $iGreen, $iBlue) |
|
| filterPixelate ($iBlockSize=20, $bUseAdvancedPixelation=false) |
|
| filterBrightness ($iLevel=50) |
|
| filterContrast ($iLevel=50) |
|
| filterSmooth ($iLevel=20) |
|
| filterBlur ($bUseSelectiveBlur=false) |
|
| filterSepia ($iRed=100, $iGreen=50, $iBlue=0) |
|
| destroy () |
|
| render ($bDontBlowUp=true, $sFileName=null, $oCache=null) |
|
| resizeImage () |
|
|
static | textSize ($sFontFilePath, $sText, $iFontSize) |
|
static | imageFromData ($sImageData) |
|
static | imageFromStream ($rImageResource) |
|
static | emptyImage ($iWidth, $iHeight) |
|
static | imageFromPath ($sPath) |
|
static | imageWithText ($sText, $sFontFilePath, $iFontSize, $iRed, $iGreen, $iBlue, $iOpacity, $iBackgoundRed=255, $iBackgoundGreen=255, $iBackgoundBlue=255, $iBackgoundAlpha=0) |
|
static | supportsText () |
|
|
const | RESIZE_TO_LARGER_VALUE = 1 |
|
const | RESIZE_TO_SMALLER_VALUE = 2 |
|
const | RESIZE_TO_WIDTH = 3 |
|
const | RESIZE_TO_HEIGHT = 4 |
|
const | STRETCH = 5 |
|
frees up the image buffer only call this when discarding the image object
static Image::textSize |
( |
|
$sFontFilePath, |
|
|
|
$sText, |
|
|
|
$iFontSize |
|
) |
| |
|
static |
- Returns
- an array containing the width and height of a certain text in a specific font and size
The documentation for this class was generated from the following file:
- cms-full/base/lib/classes/Image.php