this post was submitted on 05 Jul 2023
198 points (100.0% liked)

Firefox

18050 readers
181 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
198
Best Firefox Extensions? (external-content.duckduckgo.com)
submitted 1 year ago* (last edited 1 year ago) by MokMokFIsh@lemm.ee to c/firefox@lemmy.ml
 

I just moved to Firefox and was wondering what extensions/themes people use and what's reccomended

Also good just as a general post for all good Firefox Extensions & Themes ect.

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] yote_zip@pawb.social 3 points 1 year ago (1 children)

Yeah, for 1st-gen images WebP is okay as long as you're working within the format's restrictions, but websites are usually serving user-created images that were made as JPEG/PNG first, and converted to WebP second (incurring additional quality loss). If you're making 1st-gen images to serve based on browser availability, AVIF will be a much better option than WebP in terms of quality. AVIF has poor decoding speed, but I don't know if it's much poorer than WebP. If the politics surrounding JPEG XL get resolved and it gets put back into browsers, JPEG XL will be the best format to use for everything except for:

Single-core speed: JPEG beats it easily here. JPEG isn't parallelized though, so if you have >=4 cores JPEG-XL starts winning for decoding speed. It's worth considering that bandwidth/downloading is part of the image rendering lifecycle, so JPEG-XL's smaller images sort of counteract this speed in that way.

Animated images: AVIF is a bit better here due to it being based on a proper video codec.

Very low quality images: AVIF gives slightly better results here. With JPEG XL's dominance across medium->high quality images, this is largely not worth worrying about on a case-by-case basis unless you know you're going to be making a lot of low-quality images. Also, due to how filesizes work, better compression at low filesizes is really not that important. It's better to save 30% filesize on a 500kB image than a 5kB image, in aggregate.

[โ€“] usbpc@programming.dev 3 points 1 year ago

Thanks for explaining this, I feel like I already learned more on lemmy than I ever did on reddit now!

I'll keep this in mind the next time I want to optimize images on a website.