Get image height in PHP
Description
The following code shows how to get image height.
Example
<?php/*from w ww .j a v a 2 s .c om*/
// create a 300*200 image
$img = imagecreatetruecolor(300, 200);
echo imagesy($img); // 200
?>
The code above generates the following result.