Function __global->getimagesizefromstring
Definitions
sources_custom/phpstub.php
- Get the size of an image from a string.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$imagedata | string | required parameter | N/A | N/A | The image data |
$image_info | ?array | Null | N/A | N/A | Extra details will be put here (null: return-only). Note that this is actually passed by reference, but is also optional. |
Return
- List of details: $width, $height, $type, $attr (false: error)
- Type: ~array
- Set: N/A
- Range: N/A