Skip to content

Commit

Permalink
For the tiff tile source, allow decoding jp2k tiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Jan 15, 2021
1 parent b7ff3c8 commit b265099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Better release bioformats resources (#502)
- Better handling of tiff files with JPEG compression and RGB colorspace (#503)
- The openjpeg tile source can decode with parallelism (#511)
- Support decoding JP2k compressed tiles in the tiff tile source

### Bug Fixes
- Harden updates of the item view after making a large image (#508)
Expand Down
2 changes: 1 addition & 1 deletion sources/tiff/large_image_source_tiff/tiff_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ def getTile(self, x, y):

if (not self._tiffInfo.get('istiled') or
self._tiffInfo.get('compression') not in (
libtiff_ctypes.COMPRESSION_JPEG, 33003, 33005) or
libtiff_ctypes.COMPRESSION_JPEG, 33003, 33005, 34712) or
self._tiffInfo.get('bitspersample') != 8):
return self._getUncompressedTile(tileNum)

Expand Down

0 comments on commit b265099

Please sign in to comment.