pull down to refresh

Any reason .avif files can't be uploaded? images seem to be converted to .avif when we upload them anyway.
100 sats \ 7 replies \ @ek 4h
We don't convert images (but we want to for better cross-platform support)
Not sure why we don't support AVIF. I thought maybe because of bad browser support but that's not the case. Maybe we just didn't add because nobody requested it before?
Also, we do support Quicktime from Apple even though that does have bad browser support iirc
Do you have anything to add here @sox?
reply
oh, i thought they were converted because when i right-click-save-as on Stacker News, the images are always downloaded as avif
reply
30 sats \ 2 replies \ @ek 4h
This one is PNG.
Are you using Windows? Maybe it's confused because it relies on extensions in the filename? Not sure why it would think it's AVIF though.
edit: Wait, I see now what you mean, you don't mean the original images
reply
Hmm. So when I click that link you sent and download it, it's a PNG.
But when I try to download the image posted here #1269712 from the Saloon, it's avif.
I assume they are referencing the same image though?
reply
30 sats \ 0 replies \ @ek 4h
I assume they are referencing the same image though?
No. The images we load automatically are proxied to prevent IP address leaks and to improve performance by scaling them down based on your device’s screen size (and possibly through caching as well).
For example, if you’re using a small screen, there’s no need to download a 4K-resolution image.
reply
30 sats \ 1 reply \ @sox 4h
our imgproxy service converts images to AVIF for better performance (compression), so that’s expected. To download the true format, click “view original” on the top-left of the carousel ^^
reply
100 sats \ 0 replies \ @ek 4h
yes, this must be it, thanks @sox
reply
0 sats \ 0 replies \ @sox 4h
haha was about to reply!
So as I was saying, there’s no technical reason to not support AVIFs, pretty sure that, back then, it was useless to consider them. We can add it to the list of supported formats.
QuickTime from Apple is something that we desperately needed for a better iOS UX, before you couldn’t upload them! But that actually made me think about transcoding: a way to convert those proprietary formats to everything that everyone can play. We’ll get there 🫡
reply