Merge branch 'hotfix-issue13'
This commit is contained in:
commit
7bdc2cf79d
1 changed files with 4 additions and 4 deletions
|
|
@ -10,11 +10,11 @@ Go to http://github.com/quintusdias/glymur
|
||||||
Display metadata?
|
Display metadata?
|
||||||
=================
|
=================
|
||||||
There are two ways. From the unix command line, the script **jp2dump** is
|
There are two ways. From the unix command line, the script **jp2dump** is
|
||||||
available.::
|
available. ::
|
||||||
|
|
||||||
$ jp2dump /path/to/glymur/installation/data/nemo.jp2
|
$ jp2dump /path/to/glymur/installation/data/nemo.jp2
|
||||||
|
|
||||||
From within Python, it is as simple as printing the Jp2k object, i.e.::
|
From within Python, it is as simple as printing the Jp2k object, i.e. ::
|
||||||
|
|
||||||
>>> import pkg_resources
|
>>> import pkg_resources
|
||||||
>>> from glymur import Jp2k
|
>>> from glymur import Jp2k
|
||||||
|
|
@ -23,7 +23,7 @@ From within Python, it is as simple as printing the Jp2k object, i.e.::
|
||||||
>>> print(j)
|
>>> print(j)
|
||||||
|
|
||||||
The primary emphasis is on JP2 metadata, but it is possible to
|
The primary emphasis is on JP2 metadata, but it is possible to
|
||||||
display raw codestream as well::
|
display just raw codestream as well. This will display metadata present in the
|
||||||
|
codestream's main header only. ::
|
||||||
|
|
||||||
>>> print(j.get_codestream())
|
>>> print(j.get_codestream())
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue