Agisoft Metashape

Agisoft Metashape => Feature Requests => Topic started by: JRM on September 29, 2020, 03:42:29 PM

Title: Add AVIF support
Post by: JRM on September 29, 2020, 03:42:29 PM
Hi,

We would appreciate if Agisoft could extend its support to the AVIF format for imagery, we are considering it for our aerial and drone pictures instead of JP2 and JPEG because it already have a wider application support (Chrome, Firefox, Windows 10) than the first and a better compression rate/quality than the second.

A few benchmarks :
https://netflixtechblog.com/avif-for-next-generation-image-coding-b1d75675fe4
https://reachlightspeed.com/blog/using-the-new-high-performance-avif-image-format-on-the-web-today/

For those of us having to manage a few millions jpeg, this format is interesting :)
Title: Re: Add AVIF support
Post by: DavidD on September 29, 2020, 05:01:22 PM
I deeply agree with this!
AVIF is clearly the best competitor to replace JPG in the long run, given it's clear licensing and wide support through all AV1 members both in hardware and software.
The gains in compression, features and quality are very remarkable and more and more software already supports AV1.

This would be an extremely welcomed addition!
Title: Re: Add AVIF support
Post by: JRM on December 07, 2020, 05:10:51 PM
Hi,

libavif is providing avifenc and avifdec, it is developed by netflix under a BSD license :
https://github.com/AOMediaCodec/libavif

Our benchmarks shows an excellent ssim rating when we aim to halve the file size of a JPEG source (Q99), it is possible to go lower without noticeable loss.
Title: Re: Add AVIF support
Post by: DavidD on January 07, 2021, 07:52:48 PM
There are also a Go-based version: https://github.com/Kagami/go-avif
or one, which uses the popular dav1d decoder from the VLC team: https://github.com/link-u/davif

Is there any chance you could look into that for a potential additional feature in an upcoming point release, @Alexey Pasumansky?
Title: Re: Add AVIF support
Post by: DavidD on March 01, 2021, 10:01:08 PM
In fact, another very viable option would be JPEG XL, which has a couple of benefits over AVIF:


with the same benefits as AVIF: Royalty-free, Much better compression than 'old' standards, more feature complete.

And the standard was succesfully finallized now.

One thing that comes to mind, which could be beneficial for AVIF is that the hardware encoders/decoders are much more matured and will probably be on most CPUs within the next 2 years. No such thing with JPEG XL yet.

 
Title: Re: Add AVIF support
Post by: JRM on March 02, 2021, 12:09:29 PM
The dimension limit you are mentioning must belongs to the implementation you are using, I just encoded  an avif 10336x7788 with aom/avifenc
Title: Re: Add AVIF support
Post by: DavidD on March 03, 2021, 09:15:16 PM
Okay, I stand corrected. Seems like I had outdated information. What do you think about de/encoding speeds?
Title: Re: Add AVIF support
Post by: DavidD on October 12, 2021, 03:45:54 PM
Seems like there's another very promising image format coming.
According to the latest changelogs, experimental support for JPG XL was added. I'm actually quite happy with that!