php man page for imagesx

Query: imagesx

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IMAGESX(3)								 1								IMAGESX(3)

imagesx - Get image width

SYNOPSIS
int imagesx (resource $image)
DESCRIPTION
Returns the width of the given $image resource.
PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).
RETURN VALUES
Return the width of the $image or FALSE on errors.
EXAMPLES
Example #1 Using imagesx(3) <?php // create a 300*200 image $img = imagecreatetruecolor(300, 200); echo imagesx($img); // 300 ?>
SEE ALSO
imagecreatetruecolor(3), getimagesize(3), imagesy(3). PHP Documentation Group IMAGESX(3)
Related Man Pages
imagecreate(3) - php
imagearc(3) - php
imagefilledellipse(3) - php
imagefilter(3) - php
imagepalettetotruecolor(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation