Android 12 Will Support AVIF Photos


The primary preview of Android 12 has landed, and it brings information that the cell working system could have platform help for the AV1 Picture File Format (AVIF), which has dramatically higher picture high quality for a similar file measurement when put next with picture codecs equivalent to JPEG.

AVIF is a picture file format that makes use of AV1 compression (the open, royalty-free video coding format designed for video transmissions on the Net) saved in HEIF containers.

“AVIF is a container format for pictures and sequences of pictures encoded utilizing AV1,” Android VP of Engineering Dave Burke writes. “Like different trendy picture codecs, AVIF takes benefit of the intra-frame encoded content material from video compression.”

The standard and storage advantages of AVIF over JPEG are straightforward to see. Take this picture of Russian F1 driver Daniil Kvyat, for instance:

Photograph by Jake Archibald and licensed underneath CC BY 2.0.

Right here’s what the picture seems like at a decision of 1920×1080 and with picture high quality adjusted to carry the file measurement all the way down to 20.7kB:

JPEG (20.7 kB)

“I couldn’t even get the JPEG […] all the way down to 18 kB, even at lowest settings, so this isn’t a completely truthful take a look at,” Chrome developer advocate Jake Archibald writes. “The JPEG suffers from terrible banding, which began to seem as quickly as I went under 74 kB.’

The 1920×1080 model of this picture as a AVIF file will be shrunk all the way down to 18.2kB with clearly higher picture high quality:

AVIF (18.2 kB)

Different options supported by AVIF embrace excessive dynamic vary (HDR), 8/10/12-bit coloration depth, lossless/lossy compression, monochrome (alpha/depth) or multi-components, using any coloration area, 4:2:0/4:2:2/4:4:Four chroma subsampling, and movie grain.

“AVIF is a path to HDR picture help for the online,” Google writes. “JPEG is restricted in follow to 8-bit coloration depth. With shows more and more able to larger brightness, coloration bit depth, and coloration gamuts, net stakeholders are more and more all for preserving picture information that’s misplaced with JPEG.”

Model 1.0.Zero of the AVIF specification was finalized in February 2019, and the format is slowly seeing extra widespread adoption. Support has beforehand been introduced by Microsoft (in Home windows 10), Darktable, GIMP, Cloudflare, and Google (in Chrome).

Though AVIF will probably be supported in Android 12, Google isn’t planning to make it the default picture format like Apple did with HEIF and iOS 11.

Whereas an actual launch date hasn’t been introduced, Android 12 could land later this yr after this developer preview and an upcoming public beta section.

Source link