Nichlas Severinsen cbd8c7a9c7 Update meson.build & tests/meson.build | преди 9 месеца | |
---|---|---|
src | преди 9 месеца | |
tests | преди 9 месеца | |
.editorconfig | преди 4 години | |
.gitignore | преди 4 години | |
CHANGELOG.md | преди 9 месеца | |
COPYING | преди 4 години | |
LICENSE.txt | преди 4 години | |
README.md | преди 9 месеца | |
jp2-pixbuf.thumbnailer.in | преди 4 години | |
meson.build | преди 9 месеца | |
meson_options.txt | преди 4 години |
This is a GdkPixbuf loader module for JPEG2000. It uses OpenJPEG to load JPEG2000 images as linear buffers in memory.
Note: by default there's already some JPEG2000 support in GdkPixbuf, but that uses the JasPer image library, which only support certain parts of the JPEG2000 standard, meaning certain images don't work.
meson build && cd build && ninja install
Alternatively, specifically for arch:
meson --prefix=/usr --buildtype=plain build && meson compile -C build && sudo meson install -C build
sudo aura -A jp2-pixbuf-loader -x
Copyright © 2020 - 2024 Nichlas Severinsen
This loader module is licensed under the GNU Lesser General Public License, version 2.1; LGPLv2.1. also see COPYING
OpenJPEG is licensed under the 2-clauses BSD License.
Build project then generate loaders.cache.in:
gdk-pixbuf-query-loaders libpixbufloader-jp2.so > ../tests/loaders.cache.in
Run tests:
ninja test
or meson test --print-errorlogs
Run tests with gdb:
meson test --gdb
Run tests with valgrind:
meson test --verbose --print-errorlogs --wrap='valgrind --leak-check=full'
Run a specific test:
meson test basic --print-errorlogs