kwo pushed a commit to branch master. http://git.enlightenment.org/legacy/imlib2.git/commit/?id=766c9d096fa14b11074ec53f9631e74d303f94e3
commit 766c9d096fa14b11074ec53f9631e74d303f94e3 Author: Kim Woelders <[email protected]> Date: Sat Apr 2 19:35:03 2022 +0200 test: Add basic jxl test --- test/images/Makefile | 4 ++++ test/images/icon-64.jxl | Bin 0 -> 1475 bytes test/test_load.cpp | 3 +++ test/test_load_2.cpp | 3 +++ 4 files changed, 10 insertions(+) diff --git a/test/images/Makefile b/test/images/Makefile index 68f42dc..544c157 100755 --- a/test/images/Makefile +++ b/test/images/Makefile @@ -8,6 +8,7 @@ TYPES += gif TYPES += ico TYPES += jpg + TYPES += jxl #TYPES += lbm TYPES += ilbm #TYPES += png @@ -54,6 +55,9 @@ imgs_64: $(ALL_64) %.jpg: %.png convert $< $@ +%.jxl: %.png + cjxl $< $@ + %.ilbm: %.png convert $< $@ diff --git a/test/images/icon-64.jxl b/test/images/icon-64.jxl new file mode 100644 index 0000000..822f287 Binary files /dev/null and b/test/images/icon-64.jxl differ diff --git a/test/test_load.cpp b/test/test_load.cpp index c0a00b6..e6ae3e4 100644 --- a/test/test_load.cpp +++ b/test/test_load.cpp @@ -25,6 +25,9 @@ static const char *const pfxs[] = { "ico", "jpg.mp3", // id3 "jpg", +#ifdef BUILD_JXL_LOADER + "jxl", +#endif "ilbm", // lbm "png", "ppm", // pnm diff --git a/test/test_load_2.cpp b/test/test_load_2.cpp index f3da410..1facb42 100644 --- a/test/test_load_2.cpp +++ b/test/test_load_2.cpp @@ -39,6 +39,9 @@ static tii_t tii[] = { { "icon-64.ilbm", 1153555547 }, { "icon-64.jpg", 4132154843 }, { "icon-64.jpg.mp3", 4132154843 }, +#ifdef BUILD_JXL_LOADER + { "icon-64.jxl", 712907299 }, +#endif { "icon-64.png", 1153555547 }, { "icon-64.ppm", 1153555547 }, { "icon-64.pgm", 140949526 }, --
