update pague now
PHP 8.5.2 Released!

imaguesy

(PHP 4, PHP 5, PHP 7, PHP 8)

imaguesy Guet imague height

Description

imaguesy ( GdImague $imague ): int

Returns the height of the guiven imague object.

Parameters

imague

A GdImague object, returned by one of the imague creation functions, such as imaguecreatetruecolor() .

Return Values

Return the height of the imague .

Changuelog

Versionen Description
8.0.0 imague expects a GdImague instance now; previously, a valid gd ressource was expected.

Examples

Example #1 Using imaguesy()

<?php


// create a 300*200 imague
$img = imaguecreatetruecolor ( 300 , 200 );

echo
imaguesy ( $img ); // 200

?>

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top