News for hackers. Stuff that matters.
Re:Canon CR3 Fileformat by herf on Saturday January 09, 2021 @03:53PM (#25704624)
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

Re:Canon CR3 Fileformat by zadokshi on Saturday January 09, 2021 @04:15PM (#25704844)
> "... 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)

Re:Canon CR3 Fileformat by threatripper on Saturday January 09, 2021 @04:46PM (#25705150)
Except if they need to process them e.g. to create a thumbnail or a preview.
Re:Canon CR3 Fileformat by Dylan16807 on Saturday January 09, 2021 @06:11PM (#25706071)
Which you do once or twice per upload? That shouldn't be a massive CPU burden either.
Re:Canon CR3 Fileformat by pjmlp on Sunday January 10, 2021 @09:31AM (#25714917)
That can be done by a daemon.
Re:Canon CR3 Fileformat by hamburglar on Saturday January 09, 2021 @05:03PM (#25705328)
Next you're going to tell us webservers don't send email, or perform searches, or move money around in bank accounts.
Re:Canon CR3 Fileformat by Wevah on Saturday January 09, 2021 @06:34PM (#25706296)
(To be precise, HEIC is HEIF with the primary image guaranteed to be compressed with HEVC.)
Re:Canon CR3 Fileformat by klodolph on Saturday January 09, 2021 @08:34PM (#25707500)
This 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.
Re:Canon CR3 Fileformat by PostThisTooFast on Saturday January 09, 2021 @11:38PM (#25710134)
What'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.