mirror of
https://github.com/php/php-src.git
synced 2026-04-19 22:11:12 +02:00
We add WebP support for getimagesize(), getimagesizefromstring)(), image_type_to_extension() and image_type_to_mime_type(). For now we care only about the simple lossy WebP format (VP8) and ignore the lossless (VP8L) and extended (VP8X) formats. We use image/webp as MIME type as it appears to be pretty common, even though it is not yet registered with IANA. Relevant specifications: * <https://developers.google.com/speed/webp/docs/riff_container> * <https://tools.ietf.org/html/rfc6386>
44 B
1x3px
44 B
1x3px