More negative tests. Incompatible change to ChannelDefinitionBox. #175
This commit is contained in:
parent
4caa13a955
commit
f8ced317db
5 changed files with 73 additions and 30 deletions
|
|
@ -11,6 +11,7 @@ ChangeLog
|
|||
* added write support for JP2 UUID, dataEntryURL, palette, and component mapping boxes
|
||||
* added read/write support for JPX free, number list, and data reference boxes
|
||||
* Added read support for JPX fragment list and fragment table boxes
|
||||
* incompatible change to channel definition box constructor, channel_type and association are no longer keyword arguments
|
||||
* incompatible change to palette box constructor, it now takes a 2D numpy array instead of a list of 1D arrays
|
||||
|
||||
0.5.0 (September 16, 2013)
|
||||
|
|
|
|||
|
|
@ -359,7 +359,7 @@ channel, but we aren't doing that). ::
|
|||
|
||||
>>> from glymur.core import RED, GREEN, BLUE, WHOLE_IMAGE
|
||||
>>> asoc = [RED, GREEN, BLUE, WHOLE_IMAGE]
|
||||
>>> cdef = glymur.jp2box.ChannelDefinitionBox(channel_type=ctype, association=asoc)
|
||||
>>> cdef = glymur.jp2box.ChannelDefinitionBox(ctype, asoc)
|
||||
>>> print(cdef)
|
||||
Channel Definition Box (cdef) @ (0, 0)
|
||||
Channel 0 (color) ==> (1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue