mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-19 12:14:20 -04:00
Add support for the QOI image format
This MR adds read-only QOI (https://qoiformat.org/) image format support for KImageFormats. This format has received it's MIME type inclusion in shared-mime-info 4 months ago:ff51a0a9e3
The code is based on the reference QOI implementation at https://github.com/phoboslab/qoi/blob/master/qoi.h Official test images: https://qoiformat.org/qoi_test_images.zip  Also: This is my first MR to KDE ;) (cherry picked from commitb209e54b6f
)
This commit is contained in:
committed by
Albert Astals Cid
parent
cf78907ff4
commit
9438540735
@ -133,6 +133,10 @@ endif()
|
||||
|
||||
##################################
|
||||
|
||||
kimageformats_add_plugin(kimg_qoi SOURCES qoi.cpp)
|
||||
|
||||
##################################
|
||||
|
||||
kimageformats_add_plugin(kimg_ras SOURCES ras.cpp)
|
||||
if (QT_MAJOR_VERSION STREQUAL "5")
|
||||
install(FILES ras.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR}/qimageioplugins/)
|
||||
|
Reference in New Issue
Block a user