WebpInfo final class
Minn\Media\WebpInfo · public/minn/src/Minn/Media/WebpInfo.php · 24 lines
A WebP file's size and kind from its first 40 bytes, as wp_get_webp_info reads them (probe plugin-queue8): a simple lossy frame (VP8), a lossless one (VP8L), or the extended form (VP8X), which the reference names animated-alpha whatever its flags say. Anything shorter or of another chunk is unknown.
Public
| static | read(string $head): array# | The width, height and kind a file's first bytes declare. @return array{width: int|false, height: int|false, type: string|false} @return array{width: int|false, height: int|false, type: string|false} |
Nothing matches.