Closed
Description
Issue description
Since php 8.1 the php GD library supports the saving of images in the webp lossless format using the construct:
imagewebp($image, 'image.webp', IMG_WEBP_LOSSLESS);
where IMG_WEBP_LOSSLESS is a constant set to the value 101.
The saveOrOutput
method in the GD\Image.php class has an explicit check (line 734) to prevent the value of the quality parameter exceeding the bounds 0-100.
How in this case then can lossless webp images be saved?
Metadata
Metadata
Assignees
Labels
No labels