Closed CPBridge closed 7 months ago
Tagging @hackermd for some help here.
I think @erikogabrielsson is right and the content should be encoded as J2K (raw codestream) rather JP2 (file format). The no_jp2
flag appears to achieve that goal.
@CPBridge I think we need to update the unit test and check for the magic number of the JPEG2000 raw codestream (b"\xFF\x4F\xFF\x51"
) instead:
https://github.com/ImagingDataCommons/highdicom/blob/v0.22.0/tests/test_frame.py#L174
Thanks both, I will put out a minor release relatively soon with this fix
Fix for #275
@erikogabrielsson