Open RealAngeleno opened 6 months ago
why even implement it? .gif is used for animated images and so can .png too. Also didn't webp recently have CVE exploit to track users who viewed .webp image?
.gif
has a limited color palet and .webp
supports better lossless compression than png
.
As for CVEs, have there ever been an image which has never suffered an exploit?
I was able to generate animated webp using ffmpeg, it's not ideal but works. Apparently convert support resize, tested on my machine and it works. Going to give a try later in image.php https://github.com/ImageMagick/ImageMagick/issues/6351#issuecomment-1574154628
convert source.webp -coalesce -resize WxH destination.webp
.webpshit is worthless, return to tradition(aka .gif).
.webpshit is worthless, return to tradition(aka .gif).
.gif
has a limited color palet and.webp
supports better lossless compression thanpng
.
.webpshit is worthless, return to tradition(aka .gif).
Since all major browsers supports it, I've changed our thumbnails and static files to webp. Webp + lazy loading made a huge difference in speed. And on the plus size: file size are smaller and no loses in quality.
I was able to generate animated webp using ffmpeg, it's not ideal but works. Apparently convert support resize, tested on my machine and it works. Going to give a try later in image.php ImageMagick/ImageMagick#6351 (comment)
convert source.webp -coalesce -resize WxH destination.webp
Yeah, it worked but with a few tweaks tho
Failed to resize image! Details: gm convert: No data returned (/tmp/phpotgB36).
There are a lot of ways to fix this all in /inc/image.php but unsure of the best way to do so.