One out of 10 AVIF images cannot be loaded because of exceptions. This approx. statistics is based on 100+ images loaded from the web. The following simple code was used to test avif-to-jpg conversion:
@Test
public void testAsposeURL2() throws Exception {
URL url = new URL("https://kcdnccuifliyyw5b.public.blob.vercel-storage.com/invaders/MARS_01-U9TOohvurYo7Pvlh53F1Azy2cJqNWy.avif");
Image imgAspose = Image.load(url.openStream());
imgAspose.save("test.jpg", new JpegOptions());
}
The URL in the above JUnit code is working ok, but the following URLs are failing:
https://kcdnccuifliyyw5b.public.blob.vercel-storage.com/invaders/MARS_16-1-n5tSqWrGLkLOgpTVTKJoDhbiYDlFxC.avif
https://kcdnccuifliyyw5b.public.blob.vercel-storage.com/invaders/MARS_23-5xsVGbjH9uj5KLtyGyCuml4I7uMyKq.avif
https://kcdnccuifliyyw5b.public.blob.vercel-storage.com/invaders/PA_1168-0-joZMhD8aH5dD2KLPUbTEcWbCcF1BwJ.avif
The worst discovered case is distorted image:
https://kcdnccuifliyyw5b.public.blob.vercel-storage.com/invaders/MARS_25-1-ytLCffFOyFebz9Rq74QMf3zQ4hku67.avif
This image is converted to JPG as test.jpg (61.0 KB)
Browsers are able to show AVIF images without any issues.
Environment: Aspose.Imaging 25.3 / Windows-11 / Java 8
Please fix!!
Hi, @jdotsoft
Thank you for using Aspose.Imaging.
Sorry for the issue you faced.
We will check this issue ASAP
@jdotsoft
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): IMAGINGNET-7625,IMAGINGNET-7626
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@jdotsoft Noted, thank you, we’ll add this image to the testing queue for corrections.
Let me know if you need more images for both bug reports testing. I have links to 10k+ images to work with and many of them are failing with exceptions and few with bad image conversion.
@jdotsoft If it’s not difficult for you to do and won’t take much time, then sure, let’s do it. Otherwise, we can check after the identified bugs have been fixed.
I prepared for you the list with links to AVIF files https://www.jdotsoft.com/LinksAVIF.txt
I will remove it soon because I do not want to keep them in a public domain.
I also ran test conversion for the first 100 of them. Here is statistics: 9 exceptions, 5 wrong JPG image.
I’m software engineer myself, speaks Java and Russian. We could take this conversation out of ticketing system to emails.
1 Like
@jdotsoft
Thank you for this list and information.
We will definitely analyze it.
I’m software engineer myself, speaks Java and Russian. We could take this conversation out of ticketing system to emails.
Good to know that we speak the same language. 
We will keep it in mind, and will inform you of any news about this issue.
Best wishes