summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-04-01 16:25:26 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-06-26 17:26:20 +0100
commit4a278c66bd4f688e5c5a069e9eeba654168c998a (patch)
tree9d3fe0ebaf4d8c48a35aee13c3977a03d577cbec /tests
parent79798c0aafe5f2e3cb1546696e2a353f403a200d (diff)
downloadgdk-pixbuf-4a278c66bd4f688e5c5a069e9eeba654168c998a.tar.gz
Remove the libjasper-based JPEG2000 loader
Libjasper is not really maintained any more, and has been dropped by various Linux distributions over the years. GdkPixbuf has not enabled the JPEG2000 loader by default in many years, relying on downstream distributors to do so if they also shipped libjasper. This means that it's unlikely anybody has relied on GdkPixbuf to load a JPEG2000 image for the past 3 to 5 years, if at all. The only other option for loading JPEG2000 images is to use OpenJPEG, and for that there is an out of tree GdkPixbuf module available: https://notabug.org/necklace/jp2-pixbuf-loader Fixes: #152, #137
Diffstat (limited to 'tests')
-rw-r--r--tests/pixbuf-threads.c2
-rwxr-xr-xtests/test-images/fail/file3.jp2bin242213 -> 0 bytes
-rw-r--r--tests/test-images/randomly-modified/valid.1.jp2bin1987968 -> 0 bytes
3 files changed, 0 insertions, 2 deletions
diff --git a/tests/pixbuf-threads.c b/tests/pixbuf-threads.c
index fdcf4389f..1326eeca4 100644
--- a/tests/pixbuf-threads.c
+++ b/tests/pixbuf-threads.c
@@ -89,8 +89,6 @@ test_threads (void)
g_thread_pool_push (pool, "valid.1.tga", NULL);
if (format_supported ("tiff"))
g_thread_pool_push (pool, "valid.1.tiff", NULL);
- if (format_supported ("jp2"))
- g_thread_pool_push (pool, "valid.1.jp2", NULL);
}
g_thread_pool_free (pool, FALSE, TRUE);
diff --git a/tests/test-images/fail/file3.jp2 b/tests/test-images/fail/file3.jp2
deleted file mode 100755
index 18c130a4c..000000000
--- a/tests/test-images/fail/file3.jp2
+++ /dev/null
Binary files differ
diff --git a/tests/test-images/randomly-modified/valid.1.jp2 b/tests/test-images/randomly-modified/valid.1.jp2
deleted file mode 100644
index 5fc8bdb19..000000000
--- a/tests/test-images/randomly-modified/valid.1.jp2
+++ /dev/null
Binary files differ