Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add support for .avif images in cbr/cbz archives #425

Open
superuser-miguel opened this issue Feb 23, 2024 · 6 comments
Open

Comments

@superuser-miguel
Copy link

AVIF files are supported in browsers, desktop etc. Being open, royalty free format . It has great compression of .jpg | .png files. I have been moving a collection over to the format and packing them in .cbz files for testing. On Linux, Gnome's Document reader evince already supports .cbz files with .avif images and thumbnails can already be generated for them. gThumb also supports it OOTB.

Seeing as this will be popular going forward, because of how av1 will be implemented by browsers and streeaming platforms, support for this can be drop in since the libraries are readily available.

@selmf
Copy link
Member

selmf commented Feb 23, 2024

YACReader uses Qt's QImage, so any format supported by that can be used by YACReader. You can add avif support to your installation of YACReader by installing qt-avif-image-plugin.

@superuser-miguel
Copy link
Author

I will give it a try !

@superuser-miguel
Copy link
Author

superuser-miguel commented Mar 1, 2024

The Fedora package has not been maintained since Fedora 33. . .

https://koji.fedoraproject.org/koji/packageinfo?packageID=32052

I would have to contact the developer on this. Thanks for the bit.


In Fedora, it appears to be bundled with kf5-kimageformats. I will test further.

@selmf
Copy link
Member

selmf commented Mar 7, 2024

Yes I think installing kimageformats, either for Qt5 or Qt6 depending on how YACReader is built should do the trick.

@superuser-miguel
Copy link
Author

That actually did not work, and Fedora packages avif support somewhere else. I do have Document Reader working just fine and have been using it for reading my newly converted files. I guess the flatpak would need to be packaged with it ?

@selmf
Copy link
Member

selmf commented May 10, 2024

Hmm, that is strange. Kimageformats should be the best way to get extra image format support for all Qt applications.

I did a quick check and it appears that it is installed in the newest edition of the KDE flatpak runtime. The YACReader flatpak is currently still on an older runtime, so updating this would probably make avif and other images available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants