WSI: APP14 marker in JPEG bitstream

34 views
Skip to first unread message

Mathieu Malaterre

unread,
Jun 25, 2026, 4:01:51 AMJun 25
to DICOM Forum
Hi everyone,

I'm looking for some insight from the Cornerstone.js community regarding JPEG decoding behavior in web viewers.

We are having a discussion about whether the Adobe APP14 marker is necessary inside encapsulated JPEG tiles. My position is that it's redundant because the color space can be deduced directly from the SOF0 marker and DICOM metadata, but I want to ensure that removing it won't break decoding or color interpretation in web-based client loaders.

Full details are tracked in this issue:

* https://github.com/imi-bigpicture/opentile/issues/93

Any feedback from the dev team or users familiar with the underlying codecs would be greatly appreciated!

David Clunie

unread,
Jun 25, 2026, 6:27:01 AMJun 25
to DICOM Forum
I have found that the APP14 (APPE) marker is necessary, since without it, some decoders and viewers will fail, so please do not remove it.

On Thursday, June 25, 2026 at 4:01:51 AM UTC-4 mathieu....@gmail.com wrote:
We are having a discussion about whether the Adobe APP14 marker is necessary inside encapsulated JPEG tiles. My position is that it's redundant because the color space can be deduced directly from the SOF0 marker and DICOM metadata, but I want to ensure that removing it won't break decoding or color interpretation in web-based client loaders.

Mathieu Malaterre

unread,
Jun 25, 2026, 7:53:49 AMJun 25
to DICOM Forum
Thank you, David. I wasn't aware of this modern requirement for APP14. I appreciate the detailed clarification and the links you provided.
Reply all
Reply to author
Forward
0 new messages