Developer Forums | About Us | Site Map
Search  
HOME > PHPMANUAL


Sponsors





Web Host
site hosted by netplex
Partners

Online Manuals

imagesy

(PHP 3, PHP 4 )

imagesy -- Get image height

Description

int imagesy ( resource image)

imagesy() returns the height of the image identified by image.

Example 1. Using imagesy()

<?php

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

echo imagesy($img); // 200

 ?>

See also imagecreate(), getimagesize() and imagesx().

Copyright 2004-2024 GrindingGears.com. All rights reserved. Site hosted by NETPLEX