Merge branch 'issue66' into devel
This commit is contained in:
commit
0f0f0d5b87
4 changed files with 87 additions and 27 deletions
|
|
@ -78,7 +78,7 @@ copyright = u'2013, John Evans'
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '0.1'
|
version = '0.1'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '0.1.9'
|
release = '0.1.10'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|
|
||||||
|
|
@ -98,32 +98,92 @@ _capabilities_display = {
|
||||||
3: '3'}
|
3: '3'}
|
||||||
|
|
||||||
# Reader requirements
|
# Reader requirements
|
||||||
RREQ_UNRESTRICTED_JPEG2000_PART_1 = 5
|
#RREQ_UNRESTRICTED_JPEG2000_PART_1 = 5
|
||||||
RREQ_UNRESTRICTED_JPEG2000_PART_2 = 6
|
#RREQ_UNRESTRICTED_JPEG2000_PART_2 = 6
|
||||||
RREQ_CMYK_ENUMERATED_COLORSPACE = 55
|
#RREQ_CMYK_ENUMERATED_COLORSPACE = 55
|
||||||
RREQ_CMYK_ENUMERATED_COLORSPACE = 55
|
#RREQ_E_SRGB_ENUMERATED_COLORSPACE = 60
|
||||||
RREQ_E_SRGB_ENUMERATED_COLORSPACE = 60
|
#RREQ_ROMM_RGB_ENUMERATED_COLORSPACE = 61
|
||||||
RREQ_ROMM_RGB_ENUMERATED_COLORSPACE = 61
|
|
||||||
_reader_requirements_display = {
|
_reader_requirements_display = {
|
||||||
0: 'File not completely understood',
|
0: 'File not completely understood',
|
||||||
1: 'Deprecated',
|
1: 'Deprecated',
|
||||||
2: 'Contains multiple composition layers',
|
2: 'Contains multiple composition layers',
|
||||||
3: 'Deprecated',
|
3: 'Deprecated',
|
||||||
4: 'JPEG 2000 Part 1 Profile 1 codestream',
|
4: 'JPEG 2000 Part 1 Profile 1 codestream',
|
||||||
RREQ_UNRESTRICTED_JPEG2000_PART_1:
|
5: 'Unrestricted JPEG 2000 Part 1 codestream, ITU-T Rec. T.800 '
|
||||||
'Unrestricted JPEG 2000 Part 1 codestream, ITU-T Rec. T.800 '
|
|
||||||
+ '| ISO/IEC 15444-1',
|
+ '| ISO/IEC 15444-1',
|
||||||
RREQ_UNRESTRICTED_JPEG2000_PART_2:
|
6: 'Unrestricted JPEG 2000 Part 2 codestream',
|
||||||
'Unrestricted JPEG 2000 Part 2 codestream',
|
7: 'JPEG codestream as defined in ISO/IEC 10918-1',
|
||||||
7: 'JPEG codestream as defined in ISO/IEC 10918-1',
|
|
||||||
8: 'Deprecated',
|
8: 'Deprecated',
|
||||||
9: 'Non-premultiplied opacity channel',
|
9: 'Non-premultiplied opacity channel',
|
||||||
10: 'Premultiplied opacity channel',
|
10: 'Premultiplied opacity channel',
|
||||||
|
11: 'Chroma-key based opacity',
|
||||||
12: 'Deprecated',
|
12: 'Deprecated',
|
||||||
|
13: 'Fragmented codestream where all fragments are in file and in order',
|
||||||
|
14: 'Fragmented codestream where all fragments are in file '
|
||||||
|
+ 'but are out of order',
|
||||||
|
15: 'Fragmented codestream where not all fragments are within the file '
|
||||||
|
+ 'but are all in locally accessible files',
|
||||||
|
16: 'Fragmented codestream where some fragments may be accessible '
|
||||||
|
+ 'only through a URL specified network connection',
|
||||||
|
17: 'Compositing required to produce rendered result from multiple '
|
||||||
|
+ 'compositing layers',
|
||||||
18: 'Deprecated',
|
18: 'Deprecated',
|
||||||
|
19: 'Deprecated',
|
||||||
|
20: 'Deprecated',
|
||||||
|
21: 'At least one compositing layer consists of multiple codestreams',
|
||||||
|
22: 'Deprecated',
|
||||||
|
23: 'Colourspace transformations are required to combine compositing '
|
||||||
|
+ 'layers; not all compositing layers are in the same colourspace',
|
||||||
|
24: 'Deprecated',
|
||||||
|
25: 'Deprecated',
|
||||||
|
26: 'First animation layer does not cover entire rendered result',
|
||||||
|
27: 'Deprecated',
|
||||||
|
28: 'Reuse of animation layers',
|
||||||
|
29: 'Deprecated',
|
||||||
|
30: 'Some animated frames are non-persistent',
|
||||||
|
31: 'Deprecated',
|
||||||
|
32: 'Rendered result involves scaling within a layer',
|
||||||
|
33: 'Rendered result involves scaling between layers',
|
||||||
|
34: 'ROI metadata',
|
||||||
|
35: 'IPR metadata',
|
||||||
|
36: 'Content metadata',
|
||||||
|
37: 'History metadata',
|
||||||
|
38: 'Creation metadata',
|
||||||
|
39: 'JPX digital signatures',
|
||||||
|
40: 'JPX checksums',
|
||||||
|
41: 'Desires Graphics Arts Reproduction specified',
|
||||||
|
42: 'Deprecated',
|
||||||
43: '(Deprecated) compositing layer uses restricted ICC profile',
|
43: '(Deprecated) compositing layer uses restricted ICC profile',
|
||||||
44: 'Compositing layer uses Any ICC profile',
|
44: 'Compositing layer uses Any ICC profile',
|
||||||
45: 'Deprecated',
|
45: 'Deprecated',
|
||||||
RREQ_CMYK_ENUMERATED_COLORSPACE: 'CMYK enumerated colorspace',
|
46: 'Deprecated',
|
||||||
RREQ_E_SRGB_ENUMERATED_COLORSPACE: 'e-sRGB enumerated colorspace',
|
47: 'BiLevel 1 enumerated colourspace',
|
||||||
RREQ_ROMM_RGB_ENUMERATED_COLORSPACE: 'ROMM_RGB enumerated colorspace'}
|
48: 'BiLevel 2 enumerated colourspace',
|
||||||
|
49: 'YCbCr 1 enumerated colourspace',
|
||||||
|
50: 'YCbCr 2 enumerated colourspace',
|
||||||
|
51: 'YCbCr 3 enumerated colourspace',
|
||||||
|
52: 'PhotoYCC enumerated colourspace',
|
||||||
|
53: 'YCCK enumerated colourspace',
|
||||||
|
54: 'CMY enumerated colourspace',
|
||||||
|
55: 'CMYK enumerated colorspace',
|
||||||
|
56: 'CIELab enumerated colourspace with default parameters',
|
||||||
|
57: 'CIELab enumerated colourspace with non-default parameters',
|
||||||
|
58: 'CIEJab enumerated colourspace with default parameters',
|
||||||
|
59: 'CIEJab enumerated colourspace with non-default parameters',
|
||||||
|
60: 'e-sRGB enumerated colorspace',
|
||||||
|
61: 'ROMM_RGB enumerated colorspace',
|
||||||
|
62: 'Non-square samples',
|
||||||
|
63: 'Deprecated',
|
||||||
|
64: 'Deprecated',
|
||||||
|
65: 'Deprecated',
|
||||||
|
66: 'Deprecated',
|
||||||
|
67: 'GIS metadata XML box',
|
||||||
|
68: 'JPSEC extensions in codestream as specified by ISO/IEC 15444-8',
|
||||||
|
69: 'JP3D extensions in codestream as specified by ISO/IEC 15444-10',
|
||||||
|
70: 'Deprecated',
|
||||||
|
71: 'e-sYCC enumerated colourspace',
|
||||||
|
72: 'JPEG 2000 Part 2 codestream as restricted by baseline conformance '
|
||||||
|
+ 'requirements in M.9.2.3',
|
||||||
|
73: 'YPbPr(1125/60) enumerated colourspace',
|
||||||
|
74: 'YPbPr(1250/50) enumerated colourspace'}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4376,8 +4376,8 @@ class TestSuiteDump(unittest.TestCase):
|
||||||
self.assertEqual(jp2.box[1].minor_version, 0)
|
self.assertEqual(jp2.box[1].minor_version, 0)
|
||||||
|
|
||||||
# Reader requirements talk.
|
# Reader requirements talk.
|
||||||
self.assertTrue(glymur.core.RREQ_E_SRGB_ENUMERATED_COLORSPACE
|
# e-SRGB enumerated colourspace
|
||||||
in jp2.box[2].standard_flag)
|
self.assertTrue(60 in jp2.box[2].standard_flag)
|
||||||
|
|
||||||
# Jp2 Header
|
# Jp2 Header
|
||||||
# Image header
|
# Image header
|
||||||
|
|
@ -6375,8 +6375,8 @@ class TestSuiteDump(unittest.TestCase):
|
||||||
self.assertEqual(jp2.box[1].compatibility_list[2], 'jpx ')
|
self.assertEqual(jp2.box[1].compatibility_list[2], 'jpx ')
|
||||||
|
|
||||||
# Reader requirements talk.
|
# Reader requirements talk.
|
||||||
self.assertTrue(glymur.core.RREQ_UNRESTRICTED_JPEG2000_PART_1
|
# unrestricted jpeg 2000 part 1
|
||||||
in jp2.box[2].standard_flag)
|
self.assertTrue(5 in jp2.box[2].standard_flag)
|
||||||
|
|
||||||
# Jp2 Header
|
# Jp2 Header
|
||||||
# Image header
|
# Image header
|
||||||
|
|
@ -6586,8 +6586,8 @@ class TestSuiteDump(unittest.TestCase):
|
||||||
self.assertEqual(jp2.box[1].compatibility_list[2], 'jpx ')
|
self.assertEqual(jp2.box[1].compatibility_list[2], 'jpx ')
|
||||||
|
|
||||||
# Reader requirements talk.
|
# Reader requirements talk.
|
||||||
self.assertTrue(glymur.core.RREQ_UNRESTRICTED_JPEG2000_PART_1
|
# unrestricted jpeg 2000 part 1
|
||||||
in jp2.box[2].standard_flag)
|
self.assertTrue(5 in jp2.box[2].standard_flag)
|
||||||
|
|
||||||
# Jp2 Header
|
# Jp2 Header
|
||||||
# Image header
|
# Image header
|
||||||
|
|
@ -6802,8 +6802,8 @@ class TestSuiteDump(unittest.TestCase):
|
||||||
self.assertEqual(jp2.box[1].compatibility_list[2], 'jpx ')
|
self.assertEqual(jp2.box[1].compatibility_list[2], 'jpx ')
|
||||||
|
|
||||||
# Reader requirements talk.
|
# Reader requirements talk.
|
||||||
self.assertTrue(glymur.core.RREQ_CMYK_ENUMERATED_COLORSPACE
|
# cmyk colourspace
|
||||||
in jp2.box[2].standard_flag)
|
self.assertTrue(55 in jp2.box[2].standard_flag)
|
||||||
|
|
||||||
# Jp2 Header
|
# Jp2 Header
|
||||||
# Image header
|
# Image header
|
||||||
|
|
@ -6916,8 +6916,8 @@ class TestSuiteDump(unittest.TestCase):
|
||||||
self.assertEqual(jp2.box[1].compatibility_list[2], 'jpx ')
|
self.assertEqual(jp2.box[1].compatibility_list[2], 'jpx ')
|
||||||
|
|
||||||
# Reader requirements talk.
|
# Reader requirements talk.
|
||||||
self.assertTrue(glymur.core.RREQ_UNRESTRICTED_JPEG2000_PART_1
|
# unrestricted jpeg 2000 part 1
|
||||||
in jp2.box[2].standard_flag)
|
self.assertTrue(5 in jp2.box[2].standard_flag)
|
||||||
|
|
||||||
# Jp2 Header
|
# Jp2 Header
|
||||||
# Image header
|
# Image header
|
||||||
|
|
|
||||||
4
setup.py
4
setup.py
|
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
kwargs = {'name': 'Glymur',
|
kwargs = {'name': 'Glymur',
|
||||||
'version': '0.1.9',
|
'version': '0.1.10',
|
||||||
'description': 'Tools for accessing JPEG2000 files',
|
'description': 'Tools for accessing JPEG2000 files',
|
||||||
'long_description': open('README.md').read(),
|
'long_description': open('README.md').read(),
|
||||||
'author': 'John Evans',
|
'author': 'John Evans',
|
||||||
|
|
@ -10,7 +10,7 @@ kwargs = {'name': 'Glymur',
|
||||||
'url': 'https://github.com/quintusdias/glymur',
|
'url': 'https://github.com/quintusdias/glymur',
|
||||||
'packages': ['glymur', 'glymur.data', 'glymur.test', 'glymur.lib',
|
'packages': ['glymur', 'glymur.data', 'glymur.test', 'glymur.lib',
|
||||||
'glymur.lib.test'],
|
'glymur.lib.test'],
|
||||||
'package_data': {'glymur': ['data/*.jp2']},
|
'package_data': {'glymur': ['data/*.jp2', 'data/*.j2k']},
|
||||||
'scripts': ['bin/jp2dump'],
|
'scripts': ['bin/jp2dump'],
|
||||||
'license': 'LICENSE.txt',
|
'license': 'LICENSE.txt',
|
||||||
'platforms': ['darwin']}
|
'platforms': ['darwin']}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue