diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-04-01 16:25:26 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-06-26 17:26:20 +0100 |
commit | 4a278c66bd4f688e5c5a069e9eeba654168c998a (patch) | |
tree | 9d3fe0ebaf4d8c48a35aee13c3977a03d577cbec /tests | |
parent | 79798c0aafe5f2e3cb1546696e2a353f403a200d (diff) | |
download | gdk-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.c | 2 | ||||
-rwxr-xr-x | tests/test-images/fail/file3.jp2 | bin | 242213 -> 0 bytes | |||
-rw-r--r-- | tests/test-images/randomly-modified/valid.1.jp2 | bin | 1987968 -> 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 Binary files differdeleted file mode 100755 index 18c130a4c..000000000 --- a/tests/test-images/fail/file3.jp2 +++ /dev/null diff --git a/tests/test-images/randomly-modified/valid.1.jp2 b/tests/test-images/randomly-modified/valid.1.jp2 Binary files differdeleted file mode 100644 index 5fc8bdb19..000000000 --- a/tests/test-images/randomly-modified/valid.1.jp2 +++ /dev/null |