getimagesize-Get image size
Description
Array getimagesize (string $filename [, Array & $imageinfo])
The getimagesize () function will determine any GIF,JPG,PNG,SWF,SWC,PSD,TIFF,BMP,IFF,JP2,JPX,JB2,JPC,XBM or WBMP The size of the image file and
Php getimagesizeGetimagesize is used to read Image information and returns an array with four units. Index 0 contains the pixel value of the image width, and index 1 contains the pixel value of the image height. Index 2 is the identifier of the
PHP gets picture information getimagesize,php self-function. There are many ways to get the type of a picture, and the function is only one of the methods.The getimagesize () function will determine any
If you want to use PHP to get the height and width of the image we can directly use the PHP getimagesize function to operate, let me give you a detailed introduction to the GetImageSize function use method.
The getimagesize () function will
Defined
Get the length and width of the picture.
Grammar:
Array getimagesize (string filename, array [imageinfo]);
return value:
Array
Function Type:
Graphics processing
Content Description:
PHP function getimagesize can be used to obtain GIF, JPEG
If you want to use php to obtain the image height and width, you can directly use the getimagesize function in php to operate the function. The following describes how to use the getimagesize function.
The getimagesize () function will determine any
If you want to use PHP to get the height and width of the image we can directly use the PHP getimagesize function to operate, let me give you a detailed introduction to the GetImageSize function use method.
The getimagesize () function will
The getimagesize () function is used to obtain information such as image size, type, and so on.
The Imagesx () function is used to get the width of the image.
The Imagesy () function is used to get the height of the image.
GetImageSize (
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.