Support for webp
Reading the code
https://github.com/schmitzal/tinyimg/blob/main/Classes/Service/CompressImageService.php#L80-L85
Only jp(e)g and png mimetypes are sent to compression.
TinyPNG mentions the following files in there faq
WebP, JPG, PNG and APNG (animated PNG)
So the list can be extended with image/webp and image/apng
@schmitzal what do you think about the requested mime types? :)
Support of image/avif would be great as well.
I'm sorry for the late reply. Was really busy with moving to Spain by end of 2024. I'll review and maybe extend the PR on thursday.
Thank you!
No problem, that would be great. Thank you :)