Get image height
Syntax
imagesy( GdImage $image ): int
Parameters
image
A GdImage object, returned by one of the image creation functions, such as imagecreatetruecolor().
Return
Return the height of the image.
Examples
1 · return
<? $width = 100; $height = 50; $image = imagecreate($width, $height); $return = imagesy($image); echo $return; ?>
50