https://bugs.kde.org/show_bug.cgi?id=416941

--- Comment #2 from dnovome...@gmail.com ---
Created attachment 126421
  --> https://bugs.kde.org/attachment.cgi?id=126421&action=edit
Source code of the plugin

I am sharing initial version of my plug-in to support AVIF image format.

Dependencies:
https://github.com/AOMediaCodec/libavif
You need to build and install libavif first. Configure libavif to use at least
one supported AV1 encoder and decoder (AOM, RAV1E, DAV1D, GAV1).
When AV1 encoders/decoders are upgraded, it is good to rebuild libavif too.

How to build:
qmake
make

qmake will produce Makefile,
make will produce libqavif.so

How to install:
cp libqavif.so /usr/lib/qt5/plugins/imageformats/
cp avif.desktop /usr/share/kservices5/qimageioplugins/

Associate .avif extension (use mimetype image/avif , suggested name "AV1 Image
File Format (AVIF)") with gwenview (for example).

How to enable thumbnails in dolphin:
Update -
/usr/share/kservices5/imagethumbnail.desktop
add image/avif; to the list MimeType=...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to