harvard-lts / fits

File Information Tool Set
http://fitstool.org
GNU Lesser General Public License v2.1
92 stars 46 forks source link

jpylyzer support #358

Closed pwinckles closed 1 year ago

pwinckles commented 1 year ago

What does this Pull Request do?

Adds support for jpylyzer for processing jp2 files. It only runs on files with a .jp2 extension. Note, this can produce confusing output for files with a .jp2 extension that are not jp2 files.

Also note, that you must rebuild the test image (just build-test-image) so that it gets the Python dependency needed to run the tests.

How should this be tested?

Run it on a jp2 file: just run -i testfiles/input/signature_corrupted.jp2