Remix.run Logo
wewewedxfgdf 9 hours ago

webp is smaller than jpeg

https://developers.google.com/speed/webp/docs/webp_study

ALSO - the blog author could simplify - you don't need any code at all at the web browser.

The <img> tag automatically does motion jpeg streaming.

9 hours ago | parent | next [-]
[deleted]
F3nd0 9 hours ago | parent | prev [-]

… and JPEG XL is smaller than WebP.

wewewedxfgdf 9 hours ago | parent [-]

JPEG XL looks to have pretty poor support.

https://caniuse.com/jpegxl

F3nd0 8 hours ago | parent [-]

Yes, though hopefully not for long; unfortunately not all codecs are given equal treatment...

If having native support in a web browser is important, though, then yes, WebP is a better choice (as is JPEG).