mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 20:04:16 -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
@ -70,6 +70,7 @@ kimageformats_read_tests(
|
||||
hdr
|
||||
pcx
|
||||
psd
|
||||
qoi
|
||||
ras
|
||||
rgb
|
||||
tga
|
||||
|
BIN
autotests/read/qoi/testcard.png
Normal file
BIN
autotests/read/qoi/testcard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
autotests/read/qoi/testcard.qoi
Normal file
BIN
autotests/read/qoi/testcard.qoi
Normal file
Binary file not shown.
BIN
autotests/read/qoi/testcard_rgba.png
Normal file
BIN
autotests/read/qoi/testcard_rgba.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
autotests/read/qoi/testcard_rgba.qoi
Normal file
BIN
autotests/read/qoi/testcard_rgba.qoi
Normal file
Binary file not shown.
Reference in New Issue
Block a user