
The remainder of the comments for this report are too long. Lossless WebP (VP8L) to getimagesize() and friends. So it makes sense to add support for simple Lossless WebP (at least the simple format without alpha haven't It wouldn't be supported by libgd, but at least the latterĪssumption was wrong â imagecreatefromwebp() is able to read Indeed, getimagesize() would return FALSE in this case.Īctually, I thought that lossless WebP isn't very common and that Does it mean that if I call getimagesize on a lossless webp it Of course it depends on whether imagecreatefromwebp supports VP8X or not. Now is there a reason not to implement VP8X as well? It seems that the "Canvas Width Minus One" and "Canvas Height Minus One" are always at the same position so it should be easy. Sense to add support for VP8X to getimagesize(). VP8X (even stored color profiles are applied), so it makes indeed

Not necessarily for instance, getimagesize() supports BMP, butĪnyhow, as I've just learned imagecreatefromwebp() does support Of course it depends on whether imagecreatefromwebp supports Not all of us are able to move directly to 7.1 to take advantage of this, and other webp supporting functions like imagecreatewebp are in 5.5+
IMAGETYPE PHP PATCH
Is there any chance this patch would be accepted into the 5.6 branch? Reported by: david at admin dot amateri dot cz Req #65038 : IMAGETYPE_WEBP constant missing Req #65038 : IMAGETYPE_WEBP constant missing From: That page doesn't provide the actual INT value of each one but you should be able to print a few to get the values as necessary. An entire list of them can be found on that page, towards the bottom.


Req #65038 : IMAGETYPE_WEBP constant missing That index contains the value of one of PHP's IMAGETYPEXXX constants.
