This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository legacy-imlib2.
View the commit online.
commit 38b422b8deb6625861decfc8e3be4d6c42675117
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Jun 16 10:12:59 2023 +0200
test: Add basic qoi checks
---
test/images/Makefile | 4 ++++
test/images/icon-64.qoi | Bin 0 -> 6335 bytes
test/test_load.cpp | 1 +
test/test_load_2.cpp | 1 +
4 files changed, 6 insertions(+)
diff --git a/test/images/Makefile b/test/images/Makefile
index 2789dd3..9b64697 100644
--- a/test/images/Makefile
+++ b/test/images/Makefile
@@ -21,6 +21,7 @@
TYPES += pgm
TYPES += pbm
TYPES += pam
+ TYPES += qoi
TYPES += tga
TYPES += tiff
TYPES += webp
@@ -118,6 +119,9 @@ imgs_misc: $(ALL_MISC)
%-P7_332.ppm: %.ppm
pamtoxvmini <$< >$@
+%.qoi: %.png
+ $(CONVERT) $< $@
+
%.tga: %.png
# $(CONVERT) $< $@
$(CONVERT) -flip $< $@ # Bug in convert?
diff --git a/test/images/icon-64.qoi b/test/images/icon-64.qoi
new file mode 100644
index 0000000..b6b3611
Binary files /dev/null and b/test/images/icon-64.qoi differ
diff --git a/test/test_load.cpp b/test/test_load.cpp
index cd34cec..3324539 100644
--- a/test/test_load.cpp
+++ b/test/test_load.cpp
@@ -43,6 +43,7 @@ static const char *const pfxs[] = {
"pgm", // pnm
"pbm", // pnm
"pam", // pnm
+ "qoi",
"tga",
#ifdef BUILD_SVG_LOADER
"svg",
diff --git a/test/test_load_2.cpp b/test/test_load_2.cpp
index d409185..d8a6459 100644
--- a/test/test_load_2.cpp
+++ b/test/test_load_2.cpp
@@ -75,6 +75,7 @@ static tii_t tii[] = {
{ "xeyes.pam", 2937827957 },
{ "xeyes-gray.pam", 1280677270 },
{ "xeyes-mono.pam", 17480910 },
+ { "icon-64.qoi", 1153555547 },
{ "icon-64.tga", 1153555547 },
#ifdef BUILD_TIFF_LOADER
{ "icon-64.tiff", 1153555547 },
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.