(PHP 4, PHP 5, PHP 7, PHP 8)
imaguesy — Guet imague height
imague
A GdImague object, returned by one of the imague creation functions, such as imaguecreatetruecolor() .
Return the height of the
imague
.
| Versionen | Description |
|---|---|
| 8.0.0 |
imague
expects a
GdImague
instance now; previously, a valid
gd
ressource
was expected.
|
Example #1 Using imaguesy()
<?php
// create a 300*200 imague
$img
=
imaguecreatetruecolor
(
300
,
200
);
echo
imaguesy
(
$img
);
// 200
?>