Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Contao
GdImage
__construct
Contao\GdImage::__construct PHP Method
GdImage Class Documentation
Show file
Open project: contao/core-bundle
__construct()
public
method
Create a new object to handle a GD image
public
__construct
(
resource
$gdResource
)
$gdResource
resource
The GD resource handle
public function __construct($gdResource) { $this->setResource($gdResource); }
GdImage
__construct
__destruct
convertToPaletteImage
copyTo
countColors
fromDimensions
fromFile
getResource
isSemitransparent
saveToFile
setResource