imagesy
(PHP 4, PHP 5, PHP 7, PHP 8)
imagesy — 取得图像高度
说明
imagesy(resource
$image
): int
imagesy() 返回
image
所代表的图像的高度。
示例 #1 使用 imagesy()
<?php
// create a 300*200 image
$img = imagecreatetruecolor(300, 200);
echo imagesy($img); // 200
?>

User Contributed Notes
There are no user contributed notes for this page.