We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4bb70c commit ec9bb4fCopy full SHA for ec9bb4f
1 file changed
src/highdicom/frame.py
@@ -306,7 +306,7 @@ def encode_frame(
306
'encoding of image frames with Lossless JPEG-LS codec.'
307
)
308
309
- if transfer_syntax_uid in compression_lut.keys():
+ if transfer_syntax_uid in compression_lut:
310
image_format, kwargs = compression_lut[transfer_syntax_uid]
311
if samples_per_pixel == 3:
312
image = Image.fromarray(array, mode='RGB')
0 commit comments