lib/ezimage/classes/ezimageinterface.php
Functions
\eZImageInterface
Package:
- Children
- \eZImageObject
- \eZImageLayer
Properties
Methods

allocateColor(
$name, $red, $green, $blue
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $name | ||
| $red | ||
| $green | ||
| $blue |

blendImage(
$destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX
=
0, $sourceY
=
0
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $destinationImageObject | ||
| $imageObject | ||
| $destinationX | ||
| $destinationY | ||
| $sourceWidth | ||
| $sourceHeight | ||
| $sourceX | ||
| $sourceY |

cloneImage(
$imageObject, $width, $height, $useTruecolor
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $imageObject | ||
| $width | ||
| $height | ||
| $useTruecolor |

copyImage(
$destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX
=
0, $sourceY
=
0
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $destinationImageObject | ||
| $imageObject | ||
| $destinationX | ||
| $destinationY | ||
| $sourceWidth | ||
| $sourceHeight | ||
| $sourceX | ||
| $sourceY |

create(
$width, $height, $useTruecolor
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $width | ||
| $height | ||
| $useTruecolor |

createImage(
$width, $height, $useTruecolor
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $width | ||
| $height | ||
| $useTruecolor |

drawText(
$font, $textColor, $text, $x, $y, $angle, $imageObject
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $font | ||
| $textColor | ||
| $text | ||
| $x | ||
| $y | ||
| $angle | ||
| $imageObject |

eZImageInterface(
$imageObjectRef
=
null, $imageObject
=
null, $width
=
false, $height
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $imageObjectRef | ||
| $imageObject | ||
| $width | ||
| $height |

loadJPEG(
$storedPath, $storedFile
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $storedPath | ||
| $storedFile |

merge(
$imageObject, $x, $y, $width, $height
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $imageObject | ||
| $x | ||
| $y | ||
| $width | ||
| $height |

mergeImage(
$destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX
=
0, $sourceY
=
0, $transparency
=
0
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $destinationImageObject | ||
| $imageObject | ||
| $destinationX | ||
| $destinationY | ||
| $sourceWidth | ||
| $sourceHeight | ||
| $sourceX | ||
| $sourceY | ||
| $transparency |

store(
$fileName, $filePath, $type
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $fileName | ||
| $filePath | ||
| $type |