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 widthSYNOPSISint imagesx (resource $image)DESCRIPTIONReturns the width of the given $image resource.PARAMETERSo $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).RETURN VALUESReturn the width of the $image or FALSE on errors.EXAMPLESExample #1 Using imagesx(3) <?php // create a 300*200 image $img = imagecreatetruecolor(300, 200); echo imagesx($img); // 300 ?>SEE ALSOimagecreatetruecolor(3), getimagesize(3), imagesy(3). PHP Documentation Group IMAGESX(3)
Related Man Pages |
---|
imagecreatetruecolor(3) - php |
imagecolormatch(3) - php |
imageellipse(3) - php |
imagesetbrush(3) - php |
imagesettile(3) - php |