6 ms·
Recent notes are all about HEIF (~= iOS HEIC). It seems alarming to me that so many devices (Canon and iPhone at least) are putting out patent-encumbered HEIF/H
by herf 6y ago
Recent notes are all about HEIF (~= iOS HEIC). It seems alarming to me that so many devices (Canon and iPhone at least) are putting out patent-encumbered HEIF/HEIC files while the available decoders are so incredibly slow.
Last I looked, libHEIF is >50x slower than the built-in iOS decoders, which makes the format hundreds of times slower to decode than JPEG. With JPEG, the differences between free decoders and the "best" ones has been 2-3x in speed, but 50x slower is a huge cost that makes these formats unworkable for a whole lot of things, like most webservers.
Does anyone know if things are getting better here?
As an example, here are some 2019 benchmarks of Apple's HEIC decoder vs. libHEIF:
https://github.com/joedrago/avif/issues/11 https://github.com/joedrago/avif/issues/11
- zadokshi 6y ago> "... makes these formats unworkable for a whole lot of things, like most webservers" Webservers don't encode/decode images, they simply need to send them. (But yes, overall, I agree)
- deleted 6y ago[deleted]
- threatripper 6y agoExcept if they need to process them e.g. to create a thumbnail or a preview.
- Dylan16807 6y agoWhich you do once or twice per upload? That shouldn't be a massive CPU burden either.
- pjmlp 6y agoThat can be done by a daemon.
- hamburglar 6y agoNext you're going to tell us webservers don't send email, or perform searches, or move money around in bank accounts.
- Wevah 6y ago(To be precise, HEIC is HEIF with the primary image guaranteed to be compressed with HEVC.)
- klodolph 6y agoThis is temporary, for sure. The phones are also recording video in patent-encumbered MPEG-4, recording audio using patent-encumbered AAC. The ability to watch MPEG-4 and listen to AAC files was kinda terrible for a long time, but these days is fairly good. It just takes time.
- PostThisTooFast 6y agoWhat's alarming is the continued existence (and respect) of software patents. Until software patents are abolished, developers and consumers will continue to be ripped off.
- PostThisTooFast 6y agoWhy is HEIF involved in a raw format?