PHP.nl

imagesy

imagesy

Get image height

int **imagesy** GdImage $image

Returns the height of the given object. image

Return the height of the . image

**Voorbeeld: Using **

<?php

// create a 300*200 image
$img = imagecreatetruecolor(300, 200);

echo imagesy($img); // 200

?>

imagecreatetruecolor``getimagesize``imagesx