Welcome to the forum, Guest

  • Page:
  • 1
  • 2

TOPIC: AVIF support

AVIF support 2 years 3 months ago #6625

x412sph

Offline

Fresh Boarder

Posts: 1

Karma: 0

Hi, do you have plans to add AVIF support in the pipeline?
The administrator has disabled public write access.

AVIF support 2 years 3 months ago #6626

Luis Ángel

Offline

Administrator

Posts: 2675

Thank you received: 552

Karma: -125

Yes, but for now I will wait until Qt adds support for it.
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
The administrator has disabled public write access.

AVIF support 1 year 9 months ago #7092

gen2brain

Offline

Fresh Boarder

Posts: 3

Thank you received: 1

Karma: 0

For all users who want to try AVIF right now, you can just install github.com/novomesk/qt-avif-image-plugin, it is easy to compile on Linux, so YACReader and all Qt apps that use image plugins will just work. There is also .dll for Windows in releases but I didn't try that (not sure if it is statically compiled).

The results are impressive, for example, the 75M file is down to 30M, without any difference in image quality. If I resize the comic to 1280, which I usually do, it is down to 15M! The only downside is that it is painfully slow to encode to AVIF. I used my converter here github.com/gen2brain/cbconvert to convert some comics. I plan to do that for my whole collection.
The administrator has disabled public write access.
The following user(s) said Thank You: Luis Ángel

AVIF support 1 year 9 months ago #7093

robson.sobral

Offline

Expert Boarder

Posts: 126

Thank you received: 9

Karma: 0

I'm not sure AVIF deserves so much interest. I've been testing it against JXL and this is waaaaaaaay better!

Give it a try, @gen2brain.
Last Edit: 1 year 9 months ago by robson.sobral.
The administrator has disabled public write access.
The following user(s) said Thank You: Vagab0nd

AVIF support 1 year 9 months ago #7094

gen2brain

Offline

Fresh Boarder

Posts: 3

Thank you received: 1

Karma: 0

Thanks, I will try. For some reason, I thought JPEG XL is JXR, but it seems JXL and JXR are different formats, I had no idea. From the articles, I could find AVIF produced smaller files than JXL so I didn't bother. There is also a Qt plugin from the same author here github.com/novomesk/qt-jpegxl-image-plugin, for JXL.

The problem is I don't see any support, not even a library in my distro, there is no Qt plugin, bindings for Go etc. AVIF I can use right now.
The administrator has disabled public write access.

AVIF support 1 year 9 months ago #7095

robson.sobral

Offline

Expert Boarder

Posts: 126

Thank you received: 9

Karma: 0

Oh, JXL is great. In my tests, I've got smaller sizes using JXL.
The administrator has disabled public write access.
The following user(s) said Thank You: Vagab0nd

AVIF support 1 year 8 months ago #7159

momoe

Offline

Fresh Boarder

Posts: 4

Karma: 0

I've recently discovered this format and have been running compression tests. and I wholeheartedly endorse this format, the quality/size ratios are ridiculous.
The administrator has disabled public write access.

AVIF support 1 year 8 months ago #7165

robson.sobral

Offline

Expert Boarder

Posts: 126

Thank you received: 9

Karma: 0

Sadly, AVIF is slow to compress, RAM intensive to open and errors on conversions are common.
The administrator has disabled public write access.

AVIF support 1 year 7 months ago #7228

robson.sobral

Offline

Expert Boarder

Posts: 126

Thank you received: 9

Karma: 0

I just made some tests using a folder with 361 files, mostly of them black and white and a lot of them painted, and found interesting results.
original JPGAVIFJXL - transcodedJXL - recompressed
plain files674 MB188 MB413 MB243 MB
zip653 MB188 MB413 MB243 MB
rar648 MB188 MB413 MB243 MB
7z642 MB188 MB413 MB243 MB

For AVIF, it's format 444, at speed 5 and quantization for color and alpha on 63.

For JXL, there's
  • a version just transcoded, no recompression, to make an original file and the JXL version look exactly the same
  • a version with quality 80 and compression 7

I used the default settings on XnConvert, instead of looking to match their quality between different files. I could try to fine tune the JXL options to match or improve the quality and size compared to AVIF, but it would required some time. Given that, I think to transcode JPEG to JXL is the safest option: you free a lot of MB and lose no quality or time testing configurations file by file or battery charge decompressing AVIF.
The administrator has disabled public write access.

AVIF support 1 year 7 months ago #7230

gen2brain

Offline

Fresh Boarder

Posts: 3

Thank you received: 1

Karma: 0

It looks like the "industry" has decided to deprecate JXL www.phoronix.com/news/Chrome-Deprecating-JPEG-XL in favor of AVIF. Without support from major players, JXL can end up the same as JPEG 2000.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Powered by Kunena Forum