diff options
author | Johannes Schauer <josch@debian.org> | 2017-01-20 05:49:31 +0100 |
---|---|---|
committer | Johannes Schauer <josch@debian.org> | 2017-01-20 05:49:31 +0100 |
commit | f71d3883871752e9ab72bb175c89a378df2af529 (patch) | |
tree | 98fdde17ba8a53ac5d03fe672289b4d3cdeba2cf /src/jp2.py | |
parent | d3481fe48afe150f38f331048abe6452b8389723 (diff) |
Import upstream version 0.2.3
Diffstat (limited to 'src/jp2.py')
-rw-r--r-- | src/jp2.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -116,6 +116,7 @@ def parsejp2(data): # retrieving the dpi is optional so we do not error out if not present return (width, height, colorspace, hdpi, vdpi) + if __name__ == "__main__": import sys width, height, colorspace = parsejp2(open(sys.argv[1]).read()) |