Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
imagesy() function in PHP
The imagesy() function gets the height of image. It returns the height of the image or FALSE on errors.
Syntax
imagesy(img)
Parameters
img: Image resource created with imagecreatetruecolor()
Return
The imagesy() function returns the height of the image or FALSE on errors.
Example
The following is an example:
<?php $img = imagecreatetruecolor(450, 250); echo imagesy($img); ?>
Output
The following is the output:
250
Advertisements
