Skip to content

JP2 (JPEG 2000 Part 1) validator and properties extractor. Jpylyzer was specifically created to check that a JP2 file really conforms to the format's specifications. Additionally jpylyzer is able to extract technical characteristics.

uk-gov-mirror/digital-preservation.jpylyzer

 
 

Repository files navigation

#jpylyzer

About

Jpylyzer is a JP2 (JPEG 2000 Part 1) image validator and properties extractor. Its development was partially supported by the SCAPE Project. The SCAPE project is co-funded by the European Union under FP7 ICT-2009.4.1 (Grant Agreement number 270137).

Command line use

Usage

jpylyzer.py [-h] [-v] [--verbose] [--recursive|-r] jp2In

Positional arguments

jp2In : input JP2 image(s) or folders

Optional arguments

-h, --help : show this help message and exit

-v, --version : show program's version number and exit

--verbose : report test results in verbose format

--recursive : recrursive descend into a folder and sub-folders analysing all .jp2 files

Output

Output is directed to the standard output device (stdout).

Example

jpylyzer.py rubbish.jp2 > rubbish.xml

In the above example, output is redirected to the file 'rubbish.xml'.

Outline of output elements

  1. toolInfo: tool name (jpylyzer) + version.
  2. fileInfo: name, path, size and last modified time/date of input file.
  3. isValidJP2: True/False flag indicating whether file is valid JP2.
  4. tests: tree of test outcomes, expressed as True/False flags. A file is considered valid JP2 only if all tests return True. Tree follows JP2 box structure. By default only tests that returned False are reported, which results in an empty tests element for files that are valid JP2. Use the --verbose flag to get all test results.
  5. properties: tree of image properies. Follows JP2 box structure. Naming of properties follows ISO/IEC 15444-1 Annex I (JP2 file format syntax) and Annex A (Codestream syntax).

Documentation

Jpylyzer is fully documented by an exhaustive User Manual. Check it out!

About

JP2 (JPEG 2000 Part 1) validator and properties extractor. Jpylyzer was specifically created to check that a JP2 file really conforms to the format's specifications. Additionally jpylyzer is able to extract technical characteristics.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.7%
  • Batchfile 3.0%
  • Makefile 0.3%