Open melbic opened 2 years ago
WebP support would be great for web developers too!
i've migrated all webites to WebP images.. and now i feel that Fork should support these images... pleassee
workspaces are great! but please rememeber webps :=) BTW GitHub desktop has a top notch image diff
Also missing webp preview.
I don't want to include a c-library in Fork.
Here is one of the reasons: https://news.ycombinator.com/item?id=37478403
[$NA][1479274] Critical CVE-2023-4863: Heap buffer overflow in WebP. Reported by Apple Security Engineering and Architecture (SEAR) and The Citizen Lab at The University of Torontoʼs Munk School on 2023-09-06
Hmm yes, looking around it's hard to find a safe webp library.
I can see there's a rust image crate that has webp decoding without relying on a c dependency: https://github.com/image-rs/image (it does for encoding, but that's not something fork would be doing).
It has a tiny number of unsafe
keywords, that some pull requests are working on removing. But according to the issues, they're lacking some dedicated maintainers for webp.
Here is one of the reasons: https://news.ycombinator.com/item?id=37478403
Maybe this event will be the much needed kick-in-the-arse for some safer codec libraries.
Would it be possible to add WebP support to get a preview inside Fork? That would be super great for Android developers.