diff --git a/plug-ins/python/tests/test-file-plug-ins/tests/avif-tests.ini b/plug-ins/python/tests/test-file-plug-ins/tests/avif-tests.ini new file mode 100644 index 0000000000..595d687dfa --- /dev/null +++ b/plug-ins/python/tests/test-file-plug-ins/tests/avif-tests.ini @@ -0,0 +1,6 @@ +[test-1] +enabled=True +description=Test loading avif images from the nomacs formats testset +folder=nomacs-testset/AVIF/ +files=avif-tests-1.files +source=https://github.com/nomacs/formats_testset diff --git a/plug-ins/python/tests/test-file-plug-ins/tests/batch-config.ini b/plug-ins/python/tests/test-file-plug-ins/tests/batch-config.ini index d125ad378c..d574df9e93 100644 --- a/plug-ins/python/tests/test-file-plug-ins/tests/batch-config.ini +++ b/plug-ins/python/tests/test-file-plug-ins/tests/batch-config.ini @@ -3,6 +3,12 @@ verbose=0 # When adding ini files, don't forget to add them to meson.build +[avif] +enabled=True +plugin-import=file-heif-av1-load +extension=avif +tests=avif-tests.ini + [bmp] enabled=True enabled-export=False @@ -48,6 +54,19 @@ plugin-import=file-gif-load extension=gif tests=gif-tests.ini +[heic] +enabled=True +plugin-import=file-heif-load +extension=heic +tests=heic-tests.ini + +[hej2] +# Needs libheif 1.17.0 or higher in our Debian CI before we can enable this. +enabled=False +plugin-import=file-heif-hej2-load +extension=heic +tests=hej2-tests.ini + [icns] enabled=True plugin-import=file-icns-load @@ -78,6 +97,12 @@ plugin-import=file-jpeg-load extension=jpg tests=jpeg-tests.ini +[jxl] +enabled=True +plugin-import=file-jpegxl-load +extension=jxl +tests=jxl-tests.ini + [pcx] enabled=True plugin-import=file-pcx-load @@ -121,6 +146,12 @@ plugin-import=file-psp-load extension=psd tests=psp-tests.ini +[qoi] +enabled=True +plugin-import=file-qoi-load +extension=qoi +tests=qoi-tests.ini + [sgi] enabled=True plugin-import=file-sgi-load diff --git a/plug-ins/python/tests/test-file-plug-ins/tests/heic-tests.ini b/plug-ins/python/tests/test-file-plug-ins/tests/heic-tests.ini new file mode 100644 index 0000000000..2d213d0611 --- /dev/null +++ b/plug-ins/python/tests/test-file-plug-ins/tests/heic-tests.ini @@ -0,0 +1,6 @@ +[test-1] +enabled=True +description=Test loading heic images from the nomacs formats testset +folder=nomacs-testset/HEIC/ +files=heic-tests-1.files +source=https://github.com/nomacs/formats_testset diff --git a/plug-ins/python/tests/test-file-plug-ins/tests/hej2-tests.ini b/plug-ins/python/tests/test-file-plug-ins/tests/hej2-tests.ini new file mode 100644 index 0000000000..49d954d101 --- /dev/null +++ b/plug-ins/python/tests/test-file-plug-ins/tests/hej2-tests.ini @@ -0,0 +1,6 @@ +[test-1] +enabled=True +description=Test loading hej2 images from the nomacs formats testset +folder=nomacs-testset/HEJ2/ +files=hej2-tests-1.files +source=https://github.com/nomacs/formats_testset diff --git a/plug-ins/python/tests/test-file-plug-ins/tests/jp2-tests.ini b/plug-ins/python/tests/test-file-plug-ins/tests/jp2-tests.ini index 4d36a640bd..8017ab7af5 100644 --- a/plug-ins/python/tests/test-file-plug-ins/tests/jp2-tests.ini +++ b/plug-ins/python/tests/test-file-plug-ins/tests/jp2-tests.ini @@ -4,3 +4,10 @@ description=Test loading jp2 images from Pillow TestSuite folder=pillow/ files=jp2-pillow-tests.files source=https://github.com/python-pillow/Pillow/tree/master/Tests/images + +[test-2] +enabled=True +description=Test loading hej2 images from the nomacs formats testset +folder=nomacs-testset/JPEG2000/ +files=jpf-tests-1.files +source=https://github.com/nomacs/formats_testset diff --git a/plug-ins/python/tests/test-file-plug-ins/tests/jxl-tests.ini b/plug-ins/python/tests/test-file-plug-ins/tests/jxl-tests.ini new file mode 100644 index 0000000000..c92ec7aaf6 --- /dev/null +++ b/plug-ins/python/tests/test-file-plug-ins/tests/jxl-tests.ini @@ -0,0 +1,6 @@ +[test-1] +enabled=True +description=Test loading jxl images from the nomacs formats testset +folder=nomacs-testset/JXL/ +files=jxl-tests-1.files +source=https://github.com/nomacs/formats_testset diff --git a/plug-ins/python/tests/test-file-plug-ins/tests/meson.build b/plug-ins/python/tests/test-file-plug-ins/tests/meson.build index 4b5e69874d..0c60a0f659 100644 --- a/plug-ins/python/tests/test-file-plug-ins/tests/meson.build +++ b/plug-ins/python/tests/test-file-plug-ins/tests/meson.build @@ -5,6 +5,7 @@ install_data([ 'config.ini', # not yet updated! 'batch-config.ini', # file format specific config files for import testing + 'avif-tests.ini', 'bmp-tests.ini', 'dcx-tests.ini', 'dds-tests.ini', @@ -12,17 +13,21 @@ install_data([ 'fits-tests.ini', 'fli-tests.ini', 'gif-tests.ini', + 'heic-tests.ini', + 'hej2-tests.ini', 'icns-tests.ini', 'ico-tests.ini', 'j2k-tests.ini', 'jp2-tests.ini', 'jpeg-tests.ini', + 'jxl-tests.ini', 'pcx-tests.ini', 'png-tests.ini', 'pnm-tests.ini', 'psb-tests.ini', 'psd-tests.ini', 'psp-tests.ini', + 'qoi-tests.ini', 'sgi-tests.ini', 'tga-tests.ini', 'tif-tests.ini', diff --git a/plug-ins/python/tests/test-file-plug-ins/tests/qoi-tests.ini b/plug-ins/python/tests/test-file-plug-ins/tests/qoi-tests.ini new file mode 100644 index 0000000000..c0681a63da --- /dev/null +++ b/plug-ins/python/tests/test-file-plug-ins/tests/qoi-tests.ini @@ -0,0 +1,6 @@ +[test-1] +enabled=True +description=Test loading qoi images from the nomacs formats testset +folder=nomacs-testset/QOI/ +files=qoi-tests-1.files +source=https://github.com/nomacs/formats_testset