ZaWertun / fedora-copr-kde5

https://copr.fedorainfracloud.org/coprs/zawertun/kde/
18 stars 4 forks source link

HEIF/HEIC and JPEG XL support in KImageFormats (attempt 2) #104

Closed Quppa closed 2 years ago

Quppa commented 2 years ago

I was hoping to try again at enabling HEIF/HEIC support in KImageFormats, and to enable JPEG XL support also.

I think the previous attempt (#91) didn't work because libheif isn't in the official Fedora repositories, only RPM Fusion. Can the COPR build be made to reference it?

libjxl, on the other hand, is available, so I'm hopeful -DKIMAGEFORMATS_JXL=ON will just work.

ZaWertun commented 2 years ago

With new build of kio-extras (kio-extras-21.12.3-1.fc35.x86_64) and if you have enabled RPMFusion repo - you should get HEIF image support. kio-extras now depends (soft depend) on qt-heif-image-plugin package. It works for me in Dolphin (previews) and in Gwenview.

ZaWertun commented 2 years ago

Libjxl support enabled in this build: https://copr.fedorainfracloud.org/coprs/zawertun/kde/build/3598547/.

ZaWertun commented 2 years ago

Also this build needed to have JPEG JXL previews in Dolphin: https://copr.fedorainfracloud.org/coprs/zawertun/kde/build/3598574/.

ZaWertun commented 2 years ago

Gwenview build with JPEG XL added to supported MIME types: https://copr.fedorainfracloud.org/coprs/zawertun/kde/build/3598569/.

Quppa commented 2 years ago

Excellent, it's all working. Thank you.