John Evans
e4578db535
Removed OPENJP2_IS_V2_OFFICIAL token. #224
...
This can be done by a regular expression against the library version.
It had not been done because much of the original development was
against the svn 2.0+ version of openjpeg before the library version got
bumped to 2.1
2014-04-24 12:01:53 -04:00
jevans
346ae47b10
Merge branch 'devel' of https://github.com/quintusdias/glymur into devel
2014-04-23 20:13:15 -04:00
jevans
275324fce8
Merge branch 'issue217' into devel
2014-04-23 20:06:53 -04:00
jevans
506e4fff92
Improved code coverage to over 95%
2014-04-23 20:05:49 -04:00
quintusdias
f971d5bbcb
Merge pull request #220 from bogdanni/patch-1
...
DataEntryURLBox.write(): one too many url.encode()
2014-04-19 20:10:32 -04:00
Bogdan Nicula
a7e160133f
DataEntryURLBox.write(): one too many url.encode()
2014-04-20 02:22:59 +03:00
John Evans
afb61d28e6
Merge branch 'issue218' into devel
2014-04-09 17:03:06 -04:00
John Evans
0c19deb182
Added main_header_offset to ContiguousCodestreamBox. #218
2014-04-09 17:02:36 -04:00
quintusdias
7d3fbb2883
Merge pull request #215 from bogdanni/patch-1
...
jp2box.py: _parse_rreq3 - small fixup
2014-04-09 09:12:17 -04:00
bogdanni
e5dd222905
jp2box.py: _parse_rreq3 - small fixup
2014-04-09 14:41:23 +02:00
quintusdias
446a9be1ce
Merge pull request #214 from bogdanni/patch-1
...
Small cleanups in jp2box.py
2014-04-08 21:06:58 -04:00
John Evans
718eb9dd6e
Merge branch 'issue212' into devel
2014-04-08 21:04:05 -04:00
John Evans
f71aeaee73
Fixed test on python2.7
2014-04-08 21:03:34 -04:00
John Evans
807a0e5d3c
Merge branch 'issue200' into issue212
2014-04-08 20:57:04 -04:00
John Evans
487cc9c967
Added set and get_parseoptions to control codestream parsing. #212
2014-04-08 20:54:52 -04:00
bogdanni
d89be23af2
Small cleanups in jp2box.py
2014-04-08 23:27:59 +02:00
jevans
b719313554
main_header of Codestream object is now a property. #212
...
This improves loading time of glymur.data.jpxfile() by 33%.
2014-04-06 18:31:23 -04:00
jevans
96db5e1a6a
Removed box_is_XL parameter. #212
...
We only get around a 1% performance increase, which is not worth the
increased complexitiy.
2014-04-06 10:51:50 -04:00
jevans
f15913cee6
Refactored reader requireents box to use just a single file read. #212
2014-04-05 22:24:11 -04:00
jevans
578470e149
Refactored PCLR box parsing to use a single file read operation. #212
2014-04-05 17:16:49 -04:00
jevans
bb4e5cfe16
Refactored dtbl box to use just a single file read. #212
2014-04-05 15:41:49 -04:00
John Evans
02f02ce154
Merge branch 'issue213' into devel
2014-04-04 13:55:26 -04:00
John Evans
2e1af15cb1
Adjusted some comments in XML box parsing. #213
2014-04-04 13:54:58 -04:00
John Evans
1485bda7ff
Passing down XL flag into each box parser. #212
...
This should prevent having to call the tell method on the file pointer.
2014-04-04 13:24:16 -04:00
John Evans
c12180ccb0
Merge branch 'issue204' into devel
2014-04-04 12:27:52 -04:00
John Evans
196255d780
No superbox needs to encode its box ID anymore. #204
2014-04-04 12:27:11 -04:00
John Evans
0c8b11b722
Merge branch 'issue130' into devel
2014-04-04 12:20:09 -04:00
John Evans
2dc4e8400e
Refactored the TLM segment. #130
2014-04-04 12:17:58 -04:00
John Evans
3dbaf9f458
Refactored QCC segment parsing. #130
2014-04-04 07:11:43 -04:00
jevans
828abe942a
Removed one read statement, using struct.unpack_from. #130
2014-04-03 22:53:52 -04:00
jevans
4e19e688a0
Variable renaming. #130
2014-04-03 22:52:11 -04:00
jevans
6ee48e3f91
Merge branch 'issue130' of https://github.com/quintusdias/glymur into issue130
...
Conflicts:
glymur/jp2box.py
2014-04-03 21:38:08 -04:00
John Evans
576571fa85
Streamlined SIZ parsing. #130
2014-04-03 07:09:34 -04:00
John Evans
28a131797e
Merge branch 'devel' into issue130
...
Conflicts:
glymur/jp2box.py
2014-04-03 06:51:34 -04:00
jevans
7ebe4ff59e
Fixed rlevel assignment issue causing segfault in 1.5.
...
Segfault introduced in 0e370f5882
2014-04-02 21:30:01 -04:00
jevans
0e370f5882
Refactoring, lint cleanup.
2014-04-02 20:49:17 -04:00
John Evans
eb6f5c87a9
Merge branch 'issue210' into devel
2014-04-02 12:22:31 -04:00
John Evans
63d203796b
Use memoryview instead of np.getbuffer. #210
...
np.getbuffer is not available in python3.
2014-04-02 12:21:56 -04:00
John Evans
d2ba8a14b6
Merge branch 'issue210' into devel
2014-04-02 11:29:03 -04:00
John Evans
eb1df90fb9
Speed up of about 33%, maybe? #210
...
Added a real fix for #209 , seeing about a 22% speed up there.
2014-04-02 11:28:00 -04:00
John Evans
8e6dc486da
If palette columns are the same width, read it in one step. #210
...
Should be more efficient, hopefully.
2014-04-02 10:35:24 -04:00
John Evans
9b533b72e3
Merge branch 'devel' into issue210
2014-04-02 09:50:20 -04:00
John Evans
fd41614b51
Merge branch 'issue136' into devel
2014-04-02 09:40:52 -04:00
John Evans
900a44f00b
Changed static methods into class methods. #136
...
Since the static methods were being used as constructors, they really
did deserve to be class methods.
2014-04-02 09:35:53 -04:00
John Evans
9840b66cae
Merge branch 'issue209' into devel
2014-04-02 09:01:21 -04:00
John Evans
9ef39ddecb
Updated test for unknown superbox printing. #209
...
Can no longer detect known interior boxes. That's ok for now.
2014-04-02 09:00:23 -04:00
jevans
aacee3ddcf
Merge branch 'devel' of https://github.com/quintusdias/glymur into devel
2014-04-02 07:07:29 -04:00
jevans
f6b1bd4d29
Merge branch 'issue208' into devel
2014-04-02 07:07:04 -04:00
jevans
7418dd9cac
Refactored try/except fragment of box parsing.
2014-04-02 07:06:13 -04:00
John Evans
c2cae15723
Merge branch 'issue208' into devel
2014-04-01 20:56:08 -04:00