use end_decompress when decoding a tile, closes #285
had mistakenly only been using end_decompress when decoding by area
This commit is contained in:
parent
84b0d4360e
commit
3636939c12
1 changed files with 2 additions and 1 deletions
|
|
@ -1134,7 +1134,8 @@ class Jp2k(Jp2kBox):
|
|||
self._dparams.DA_x0, self._dparams.DA_y0,
|
||||
self._dparams.DA_x1, self._dparams.DA_y1)
|
||||
opj2.decode(codec, stream, image)
|
||||
opj2.end_decompress(codec, stream)
|
||||
|
||||
opj2.end_decompress(codec, stream)
|
||||
|
||||
img_array = extract_image_cube(image)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue