We are trying to read a 16-bit JPEG2000Loseless type (Transfer Syntax ID - 1.2.840.10008.1.2.4.90).
Using DicomParser we saw that this file is having encapsulatedPixelData: true.

Is there any way we can determine if the arrayBuffer contains compressed data or decompressed data ?
And if it is compressed data then is there a method to decompress it before proceeding further ?
Any inputs or help will be really appreciated, thanks.
We are trying to read a 16-bit JPEG2000Loseless type (Transfer Syntax ID - 1.2.840.10008.1.2.4.90).
Using DicomParser we saw that this file is having encapsulatedPixelData: true.

Is there any way we can determine if the arrayBuffer contains compressed data or decompressed data ?
And if it is compressed data then is there a method to decompress it before proceeding further ?
Any inputs or help will be really appreciated, thanks.