johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
5.28k stars 259 forks source link

Comic CBZ archives show as blank when image format is AVIF #1232

Closed blissd closed 5 months ago

blissd commented 5 months ago

I have many CBZ comic book files where I have converted the page images to the AVIF format, which reduces my comics to about 20% of their original size. Viewing these comics through the Gnome Document Viewer and through the Kavita self-hosted comic reading website displays the comics as intended, but using Foliate displays the comics as blank.

Opening the CBZ file will result in no cover page visible, and no list of pages to view. The CBZ file will also not appear in the library view.

To Reproduce Steps to reproduce the behaviour:

  1. Open any comic CBZ archive that uses the AVIF image format.
  2. Observe the absence of any visible pages.

Expected behavior CBZ files containing AVIF images should display just like comic files containing JPEG images.

Screenshots image

Version: