Php Getimagesizefromstring
# PHP getimagesizefromstring - Get Image Information Function
[PHP Image Processing](#)
getimagesizefromstring β Get image size information from a string.
### Syntax
array getimagesizefromstring ( string $imagedata [, array &$imageinfo ] )
Same as the [getimagesize()](#) function. The difference is that the first parameter of getimagesizefromstring() is the string representation of the image data, not the filename.
**Parameters**
* **imagedata:** String representation of the image data.
* **imageinfo:** See the [getimagesize()](#) function.
### Example
The output of the above example is:
Array( => 290 => 69 => 3 => width="290" height="69" => 8 => image/png )
[PHP Image Processing](#)
YouTip