Get image height

imagesy

(PHP 4, PHP 5)

imagesyGet image height

Opis

int imagesy ( resource $image )

Returns the height of the given image resource.

Parametry

obraz

Zasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak imagecreatetruecolor().

Zwracane wartości

Return the height of the image or FALSE on errors.

Przykłady

Example #1 Using imagesy()

<?php

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

echo 
imagesy($img); // 200

?>


pióro | złoto | waterman | aranżacja wnętrz | projektowanie stron www | aranżacja wnętrz | projektowanie logo wrocław | Szkoły Policealne
Design by flankerds.com