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+ This function returns a list of items, where the image’s width and height are stored at indexes 0 and 1, respectively, and the IMAGETYPEXXX constants are stored at index 2. Is there any chance this patch would be accepted into the 5.6 branch? After loading the image, we use getimagesize () to calculate the width, height and the type of the input image. Reported by: david at admin dot amateri dot cz Req #65038 : IMAGETYPE_WEBP constant missing Req #65038 : IMAGETYPE_WEBP constant missing From: Req #65038 : IMAGETYPE_WEBP constant missing.
0 Comments
Leave a Reply. |