You are not logged in.

#1 2023-05-07 17:54:30

Qbalonka
Member
Registered: 2020-10-27
Posts: 5

[SOLVED] Big avif images not opening, or displaying

I've noticed a peculiar issue today. It seems that images saved to avif file format, which are bigger than a certain size are not displaying correctly. I am convinced that this was not the case before, so the issue must be recent.
I've made some tests by saving a square image in multiple different resolutions (using a few graphics programs and also checking them in a few image display programs). The biggest size that seems to open correctly, for a close to 1:1 ratio image, is 5971px by 5970px. Even one row of pixels more than that causes an error when trying to open the file (thumbnails of these images stopped showing too). The theoretical limit for avif images is supposed to be much higher than that (65536 x 65536 pixels).
The avifdec command using aom codec, which decodes the files to other file formats correctly, suggests that the data in the files is not damaged.
Can someone confirm this issue on their side?
Any idea what might be causing this?
Thank You!

Last edited by Qbalonka (2023-05-12 14:13:43)

Offline

#2 2023-05-07 18:03:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: [SOLVED] Big avif images not opening, or displaying

Which image viewers are you talking about and what's the common thread between them? (If they all use the same decoding lib and that one has a bug that could explain this)

Offline

#3 2023-05-07 18:42:27

Qbalonka
Member
Registered: 2020-10-27
Posts: 5

Re: [SOLVED] Big avif images not opening, or displaying

Tried opening in Krita, Gimp, Inkscape, Scribus, eog and gThumb and Feh. These failed.

Last edited by Qbalonka (2023-05-07 20:24:36)

Offline

#4 2023-05-08 12:54:46

novomesky
Member
Registered: 2023-05-08
Posts: 1

Re: [SOLVED] Big avif images not opening, or displaying

Similar problems occurs with libaom 3.6.0 which has some new compression features enabled by default.

There is a fix in libaom v3.6.1-rc1 to use those new features only when requested, so that the output is compatible with older decoders.

Offline

#5 2023-05-12 10:50:34

Qbalonka
Member
Registered: 2020-10-27
Posts: 5

Re: [SOLVED] Big avif images not opening, or displaying

Like novomesky pointed out, using libaom 3.6.1 solves this issue for newly created image files.
Thank you for your help everyone!

Offline

#6 2023-05-12 11:01:47

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Big avif images not opening, or displaying

Please remember to mark your thread [SOLVED] (edit the title of your first post).


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB