Today I tested avif files generated by XnviewMP 1.0 on my samsung smartphone and tablet with android 12 (latest android updates from may 2022).
Android 12 supports the avif file format. I converted different files to the avif file format with XnviewMP 1.0 and all of them are incompatible with android 12! XnviewMP can open the avif files. That is strange. I used different color bitrates (8, 10, 12 bit) and compression and effort levels to check, which format is the best for android 12. All of them are not viewed on android 12 gallery apps!
So I tried the website https://squoosh.app/ to compress the same picture files to avif format. I saved the files and tested them on my android 12 devices. The generated pictures of squoosh.app work perfect!
Why are the XnviewMP avif files incompatible with Android 12?
I attached 2 files for testing. One is from XnViewMP and another generated by squuoosh.app.
1.0: AVIF files incompatible with Android 12 - Why?
Moderators: helmut, XnTriq, xnview, Dreamer
1.0: AVIF files incompatible with Android 12 - Why?
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
Re: XnViewMP 1.0 - AVIF files incompatible with Android 12 - Why?
do you have tried to change in 4:2:0?
Pierre.
Re: XnViewMP 1.0 - AVIF files incompatible with Android 12 - Why?
Yes, I tested 4:4:4, 4:2:2 and 4:2:0. Also I tried loseless and lossy. All are incompatible.
I read an internet article about differenct avif specifications.
Version 1.0 was released in 2019. Now we have version 1.1.
To find the reason for the incompatibility I used Paint.NET mit AVIF plugin to save some sample files.
Some of them do not work with Android 12, too! Maybe your program and Paint.NET AVIF plugin use the same avif library to save the files!?
Which version of libavif XnViewMP use? Is it version 0.9.3?
There is a newer pre-release version 0.10.1 available from april 2022.
The changelog contain some information about android and a out of memory problem,
but I did not understand what they fixed.
I read an internet article about differenct avif specifications.
Version 1.0 was released in 2019. Now we have version 1.1.
To find the reason for the incompatibility I used Paint.NET mit AVIF plugin to save some sample files.
Some of them do not work with Android 12, too! Maybe your program and Paint.NET AVIF plugin use the same avif library to save the files!?
Which version of libavif XnViewMP use? Is it version 0.9.3?
There is a newer pre-release version 0.10.1 available from april 2022.
The changelog contain some information about android and a out of memory problem,
but I did not understand what they fixed.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
Re: XnViewMP 1.0 - AVIF files incompatible with Android 12 - Why?
yesmasterjp wrote: Mon May 30, 2022 7:52 pm Which version of libavif XnViewMP use? Is it version 0.9.3?
Pierre.
Re: XnViewMP 1.0 - AVIF files incompatible with Android 12 - Why?
The website https://squoosh.app/ which produce compatible android 12 avif files uses an older libavif version 0.5.4.
---
Now I read different internet articles and discussion boards, that android 12 have a limited support for avif.
Some users have problems with files over 1 MB or pictures sizes bigger than 4096x4096 pixels.
My files are smaller in filesize and picture size.
I could not see any further informations, how to encode the avif files and which settings are recommend to get the full android compatibility.
---
Now I read different internet articles and discussion boards, that android 12 have a limited support for avif.
Some users have problems with files over 1 MB or pictures sizes bigger than 4096x4096 pixels.
My files are smaller in filesize and picture size.
I could not see any further informations, how to encode the avif files and which settings are recommend to get the full android compatibility.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7