Skip to content

Commit

Permalink
Remove JP2 wrapper from JPEG 2000 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
CPBridge committed Mar 27, 2024
1 parent a4572f4 commit 5289189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/highdicom/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def encode_frame(
Number of bits that need to be allocated per pixel sample
bits_stored: int
Number of bits that are required to store a pixel sample
photometric_interpretation: int
photometric_interpretation: Union[PhotometricInterpretationValues, str]
Photometric interpretation
pixel_representation: Union[highdicom.PixelRepresentationValues, int, None], optional
Whether pixel samples are represented as unsigned integers or
Expand Down Expand Up @@ -156,6 +156,7 @@ def encode_frame(
'tile_size': None,
'num_resolutions': 1,
'irreversible': False,
'no_jp2': True,
},
),
JPEGLSLossless: (
Expand Down

0 comments on commit 5289189

Please sign in to comment.