JPEG XL could let you pack twice as many photos into your phone
cnet.com
cnet.com
A still image file containing one frame of a video codec has been long theorized, pushed very aggressively since 2010 by Google as WebP (i.e. VP8-in-RIFF), and as a fully-functional thought experiment by ffmpeg's Fabrice Bellard since 2014 in BPG (HEVC-with-custom-header), the latter of which jumped the gun on HEIF before it was done.
Now that HEIF is here, we have a better container encapsulating an advanced codec, and suddenly we have hardware support with premium phones generating files in this format. The barrier is HEVC's hefty licensing pool, but a parallel effort exists in AVIF [1], which takes a frame of the royalty-free, HEVC-competitor AV1 video codec, and stuffs it into a HEIF container.
It seems a bit superfluous for JPEG to barge into this space right now; I'm confident they'll do technically solid, and even innovative work, but proliferating an incompatible implementation right when it looks like there's a realistic chance of a newer still-image codec replacing one that dates back to 1992 is a bit counterproductive.
But perhaps I should be more optimistic. Their calls-for-proposal document [2] lays out recent competitors, admits their technical merits, but concludes that they're not in widespread use. Then, it lays out that their vision to produce a state-of-the-art format that will achieve widespread adoption, helped by a "royalty-free baseline".
[1] https://news.ycombinator.com/item?id=16803363 [2] https://jpeg.org/downloads/jpegxl/jpegxl-draft_cfp.pdf
So their argument is "this new technology that has just entered the market is not widely adopted, therefore our technology which does not even exist yet let alone is ready for usage is better"?
The I-frame encoding in MPEG-1 was basically identical to baseline JPEG. The compressed frames can be losslessly converted to JPEG and vice-versa. So, in a sense, we were already there.
Reusing the I-frame compression from a video codec is the only strategy that makes sense for a lossy still image codec. Video codecs are where the major innovation is happening, with wide participation from every player in the industry, and a large part of the innovation has been around improving I-frame efficiency. They're being hardware optimized and baked into software implementations. And even when patents are involved, still image codecs are usually able to piggyback on the video codec licenses that are already on the device.
That is 4 generation a video codec improvement, and yet as an image format, MPEG 1 based Jpeg is still doing very well compared to latest HEIF. I mean four generation of improvement and we only got 50% reduction at similar quality. Why is it still image don't scale down as well as video?
I think someone mentioned before in this thread the syncing between Android and iPhone using Google Photos and finding the format incompatible on Android.
TRANSFER TO MAC OR PC - Automatic - Keep Originals
Automatically transfer photos and videos in a compatible format, or always transfer the original file without checking for compatibility.
tl-dr; you can set it to automatic and when you backup via itunes the images will be jpegs
Or use this free software
Her photos are all HEIF. My photos are all JPG. The Google Photos app on Android may be just about the _only_ Android app I've encountered that knows how to handle HEIF - which means any time I try to share one of my wife's photos to social media or a messaging app, it simply doesn't work. I have to convert them to JPGs on my own.
(We can develop a whizzbang new compression algorithm, but unless Windows, macOS, iOS, Android, and all the flavors of Linux add support it can't go beyond the device)
EDIT: Comr to think of it this was the problem with APNG trying to replace GIF. Everything supports GIF, no one supported APNG (relative to GIF) so it never really gained traction.
Even though 75% of users have a browser that supports it the format has no mindshare so no one uses it.
I think that the creators of PNG being against it and saying we should all use MNG instead didn't really help. Not to mention the fact that it took ages for plain PNGs to be supported by browsers.
To be fair I’m only vaguely aware of APNG. I thought it was called PNGA before I looked it up to see what browsers supported it for my comment.
I also had a no-name digital camera that inexplicably supported JPEG2000.
Other than that, I’m don’t think I’ve seen it much in the wild.
It is also used for digital cinema distribution. It was chosen for that role specifically because it was not in widespread use.
To be fair, the same was true of the original JPEG when it was released. JPEG also has an optional arithmetic coder based on IBM's Q-coder, which was heavily patented at the time. To this day, no one implements that, even though it does improve the compression and even though IBM's patents have long expired.
[1] https://web.archive.org/web/20160404051240/http://people.moz...
We need something even better, compressing 150Kb Jpeg, a common image size on the internet, to 50Kb with similar or better quality.
I hope we do better with next gen video codec VVC.
Everything will have to support heif, or lose every iPhone owner as a user.
You can upload HEVC to YouTube just fine, and it works. So in the only way that counts, they do support it.
The battle between AV1 and HEVC is not set. And so is the battle between HEIF and AVIF. HEVC have the upper hand right now. But that doesn't mean it has already won. iPhone does allow auto convert to Jpeg for compatibility reason.
So if you cant guarantee HEVC licensing issues revolved, and not having Google on board, HEIC will just be another internal format being used by Apple and Apple only. No Chrome, Firefox, Opera, Android support. ( Although Microsoft seems to be on board )
* WebP is a good alternative.
* BPG has potential licensing problems.
I for one hope the web will end up adopting the Netflix-backed, AV1-based, and royalty-free AVIF:
People complain that’s a standard and Apple needs to support it.
No difference.
But as others have said, MS is supporting HEIF on Windows too.
There are some licensing issues with it, but if you have HEVC hardware and a license, then you can probably use it.
Next generation formats (HEIC/AVIC) are half size of WebP. So I'm hoping WebP won't get revived before we get AV1 going, and we'll be able to bury WebP, too.