pull down to refresh
0 sats \ 8 replies \ @SimpleStacker 6h \ on: Stacker Saloon
Any reason .avif files can't be uploaded? images seem to be converted to .avif when we upload them anyway.
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
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
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
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