suche nach in der

imagetruecolortopalette> <imagesx
Last updated: Fri, 18 May 2012

view this page in

imagesy

(PHP 4, PHP 5)

imagesyErmittelt die Bild-Höhe

Beschreibung:

int imagesy ( resource $im )

ImageSY() ermittelt die Höhe des Bildes, das durch im referenziert wird.

Siehe auch imagecreate() und imagesx().



add a note add a note User Contributed Notes
imagesy
BSE_Icheb at hotmail dot com
21-Jun-2003 01:13
You should destroy the $img too...
So it would be :
$img = @imagecreatefromjpeg("http://www.mysite.com/my_image.jpg");

if ($img) {
 $img_height = imagesy($img);
 ImageDestroy($img);
}

echo "My height is " . $img_height;
boo at php dot net
14-Aug-2002 08:01
To use this function notice that 'image' parameter it's a RESOURCE and NOT an Image File Path !

Here comes an exemple:

$img = @imagecreatefromgif("http://www.mysite.com/my_imag.gif");

if ($img) $img_height = imagesy($img);

echo "My height is " . $img_height;

imagetruecolortopalette> <imagesx
Last updated: Fri, 18 May 2012