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 8fc05e400eea1046fc3f303eea4856e6d794c807
Author: Kim Woelders <[email protected]>
AuthorDate: Thu Jan 12 20:11:35 2023 +0100

    test: Add a few tests for obscure pnm formats
---
 test/images/Makefile     |   4 ++++
 test/images/xeyes-P8.ppm | Bin 0 -> 60044 bytes
 test/test_load_2.cpp     |   2 ++
 3 files changed, 6 insertions(+)

diff --git a/test/images/Makefile b/test/images/Makefile
index 473e2be..d3cae9b 100644
--- a/test/images/Makefile
+++ b/test/images/Makefile
@@ -43,6 +43,7 @@ imgs_64:  $(ALL_64)
  ALL_MISC += xeyes.jp2 xeyes.j2k
  ALL_MISC += xeyes-gray.png
  ALL_MISC += xeyes-gray.jp2 xeyes-gray.j2k
+ ALL_MISC += xeyes-P8.ppm
 imgs_misc: $(ALL_MISC)
 
 %.argb: %.png
@@ -99,6 +100,9 @@ imgs_misc: $(ALL_MISC)
 %-P3.ppm: %.ppm
 	pnmtopnm -plain <$< >$@
 
+%-P8.ppm: %.png
+	imlib2_conv $< $@
+
 %-P7_332.ppm: %.ppm
 	pamtoxvmini <$< >$@
 
diff --git a/test/images/xeyes-P8.ppm b/test/images/xeyes-P8.ppm
new file mode 100644
index 0000000..9ad5112
Binary files /dev/null and b/test/images/xeyes-P8.ppm differ
diff --git a/test/test_load_2.cpp b/test/test_load_2.cpp
index 735d996..37cc834 100644
--- a/test/test_load_2.cpp
+++ b/test/test_load_2.cpp
@@ -60,6 +60,8 @@ static tii_t        tii[] = {
    { "icon-64-P3.ppm",		1153555547 },
    { "icon-64-P2.pgm",		 140949526 },
    { "icon-64-P1.pbm",		3936773892 },
+   { "icon-64-P7_332.ppm",	3790447752 },
+   { "xeyes-P8.ppm",		2937827957 },
    { "icon-64.tga",		1153555547 },
    { "icon-64.tiff",		1153555547 },
    { "icon-64.webp",		1698406918 },

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to