Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

first commit

  • Loading branch information...
commit 06bd7eff44d4e1cfe4c91b3af944b106e1be0daa 1 parent 0dfe2c5
@bitsgalore authored
Showing with 20 additions and 8 deletions.
  1. +2 −1  jp2StructCheck.py
  2. +18 −7 readme
View
3  jp2StructCheck.py
@@ -110,7 +110,8 @@ def checkCodestreamCompleteness(jp2c):
# Check match against end of codestream marker (0xFFd9)
if cTrailingBytes==b'\xff\xd9':
codestreamComplete=True
- else: codestreamComplete=False
+ else:
+ codestreamComplete=False
return(codestreamComplete)
View
25 readme
@@ -1,7 +1,9 @@
-***jp2StructCheck version 31 August 2011***
-
+**************************************************************
+jp2StructCheck version 31 August 2011
+**************************************************************
Simple JP2 file structure checker
+**************************************************************
Copyright (C) 2011 Johan van der Knijff, Koninklijke Bibliotheek - National Library of the Netherlands
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
@@ -10,15 +12,22 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
-** Additional materials available through 'downloads':**
+**************************************************************
+Additional materials available through 'downloads':
+**************************************************************
-- Binary distribution for 32 bit Windows
+- Binary distribution for 32 bit Windows:
+https://github.com/downloads/bitsgalore/jp2StructCheck/jp2StructCheck31082011distWin32.zip
-- Documentation (PDF)
+- Documentation (PDF):
+https://github.com/downloads/bitsgalore/jp2StructCheck/jp2StructCheck.pdf
-- Test images
+- Test images:
+https://github.com/downloads/bitsgalore/jp2StructCheck/testImages.zip
-** Command line synopsis (see PDF documentation for details)**
+**************************************************************
+Command line synopsis (see PDF documentation for details):
+**************************************************************
usage: jp2StructCheck.py [-h] [-v] [-t] jp2In
@@ -34,3 +43,5 @@ optional arguments:
-t: report output in terse format
+**************************************************************
+
Please sign in to comment.
Something went wrong with that request. Please try again.