Forum und email

imagesy

(PHP 4, PHP 5)

imagesy — Get image height

설명

int imagesy ( resource $image )

Returns the height of the given image resource.

매개변수

font

내장 글꼴 1, 2, 3, 4, 5(큰 숫자가 큰 글꼴)나 imageloadfont()로 등록한 글꼴 식별자를 사용할 수 있습니다.

반환값

Return the height of the image or FALSE on errors.

예제

Example#1 Using imagesy()

<?php

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

echo 
imagesy($img); // 200

?>


pt>