Function __global->is_animated_image
Definitions
sources/images_cleanup_pipeline.php
- Whether an image file is animated.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $c | string | No | No | required parameter | N/A | N/A | Image data |
| $ext | string | No | No | required parameter | N/A | N/A | Image extension |
Returns
- Whether it is animated
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Whether an image file is animated.
*
* @param string $c Image data
* @param string $ext Image extension
* @return boolean Whether it is animated
*/
function is_animated_image(string $c, string $ext) : bool
* Whether an image file is animated.
*
* @param string $c Image data
* @param string $ext Image extension
* @return boolean Whether it is animated
*/
function is_animated_image(string $c, string $ext) : bool

