Rewrote jp2dump as an entry point console script.

Some printing UT refactoring was done.
This commit is contained in:
John Evans 2014-09-10 20:40:37 -04:00 • committed by John Evans
commit 7d9a4efdbd
8 changed files with 205 additions and 143 deletions

View file

@ -17,7 +17,7 @@ resolution level. ::
... display metadata?
=====================
There are two ways. From the unix command line, the script **jp2dump** is
There are two ways. From the command line, the script **jp2dump** is
available. ::
$ jp2dump /path/to/glymur/installation/data/nemo.jp2

View file

@ -27,10 +27,5 @@ but you should also be able to install Glymur via pip ::
$ pip install glymur
This will install a script **jp2dump** that can be used from the unix command
line for dumping JP2 metadata, so you should adjust your **$PATH**
environment variable to take advantage of it. For example, if you install
with pip's `--user` option on linux ::
$ export PATH=$HOME/.local/bin:$PATH
In addition to the package, this also gives you a script **jp2dump** that can
be used from the command line line to print JPEG 2000 metadata.