pydicom/pylibjpeg-openjpeg

Fix encoding with JP2 encapsulation

scaramallion opened this issue · 1 comments

Because codec_format=2 doesn't work and JP2 is the only thing reason for supplying the photometric interpretation/colour space as it doesn't get tracked by a J2K codestream.

OK, I got confused between the codec enum which has a value of 2 for JP2, and the cod_format encoding parameter which should be 1 for JP2