Initial commit.
This commit is contained in:
parent
9fbcec53e1
commit
e056e898cc
32 changed files with 16874 additions and 0 deletions
15
bin/jp2dump
Executable file
15
bin/jp2dump
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
import glymur
|
||||
|
||||
description='Print JPEG2000 metadata.'
|
||||
parser = argparse.ArgumentParser(description=description)
|
||||
parser.add_argument('-c', '--codestream', help='dump codestream',
|
||||
action='store_true')
|
||||
parser.add_argument('filename')
|
||||
args = parser.parse_args()
|
||||
|
||||
filename = args.filename
|
||||
glymur.jp2dump(args.filename, codestream=args.codestream)
|
||||
Loading…
Add table
Add a link
Reference in a new issue