UNA
Loading...
Searching...
No Matches
BxDolImageResize Class Reference
Inheritance diagram for BxDolImageResize:
BxDolFactory iBxDolSingleton

Public Member Functions

 __clone ()
 
 getManager ()
 
 getError ()
 
 isAllowedImage ($sSrcImage)
 
 resize ($mixedImage, $sDstImage='')
 
 applyWatermark ($mixedImage, $sDstImage, $sWtrImage, $iTransparency, $sPosition='bottom-right', $sPositionOffsetX=0, $sPositionOffsetY=0, $sScaleFactor=0.2)
 
 grayscale ($mixedImage, $sDstImage='')
 
 setSize ($w, $h)
 
 removeCropOptions ()
 
 setAutoCrop ($b)
 
 setJpegQuality ($i)
 
 setSquareResize ($b)
 
 isUsedGD ()
 
 _getImageSize ($sPath)
 
 getExifInfo ($sSrcImage, $bCreateLocalFileIfUrl=true)
 
 getAverageColor ($sSrcImage)
 
 _grayscale ($sSrcImage, $sDstImage='')
 
 _removeTransparency ($oImg)
 
 _resize ($sSrcImage, $sDstImage='')
 
 _applyWatermark ( $sSrcImage, $sDstImage, $sWtrImage, $iTransparency, $sPosition='bottom-right', $sPositionOffsetX=0, $sPositionOffsetY=0, $sScaleFactor=0.2)
 

Static Public Member Functions

static getInstance ()
 
static getImageSize ($sPath)
 

Protected Attributes

 $w = 64
 
 $h = 64
 
 $_isAutoCrop = false
 
 $_iJpegQuality = 90
 
 $_isSquareResize = false
 
 $_isUseGD
 
 $_oManager
 
 $_sError
 
 $_bRemoveTransparency = false
 
 $_sRemoveTransparencyFillColor = '#ffffff'
 

Constructor & Destructor Documentation

◆ __construct()

BxDolImageResize::__construct ( )
protected

Reimplemented from BxDolFactory.

Member Function Documentation

◆ __clone()

BxDolImageResize::__clone ( )

Prevent cloning the instance

◆ getInstance()

static BxDolImageResize::getInstance ( )
static

Get singleton instance of the class

Implements iBxDolSingleton.

◆ setAutoCrop()

BxDolImageResize::setAutoCrop ( $b)

Crop image to destination size with filling whole area of destination size


The documentation for this class was generated from the following file: