Are there different JPEG2000 file formats?
Asked Answered
J

1

9

I've seen JPEG2000 files with both .J2K and .JP2 extensions, and codecs which read one won't always read the other. Can someone explain why there are multiple extensions for what I thought was a single format?

Jowett answered 9/7, 2009 at 14:3 Comment(0)
W
19

Because JPEG 2000 is both a codec and a file format. The standard is in many parts, with Part 1 giving (mostly) codec information (i.e. how to compress and decompress image data), with a container file format annex (JP2). Part 2 gives many extensions, and a more comprehensive container format (JPX).

JP2 is the "container" format for JPEG 2000 codestreams, and is modelled on the Quicktime format. J2K, I've not seen (we used J2C during standardisation), but I presume it is raw compressed data, without a wrapper. The point of the containers is that a "good" image comes with additional metadata - colour space information, tagging, etc. The JP2 format base allows many "boxes" of information in one file (including many images, if you like). It also allows the same container format to be used for many other parts of the standard (such as JP3D, and JPIP). Really, you shouldn't see many unwrapped, raw data streams - it is, in my opinion, bad practice.

Wauters answered 9/7, 2009 at 14:7 Comment(3)
@Adam wright, I am new to JPEG standards, do you know if there's access to JPEG standards without cost, most IEC standards need to be paid upfront!?? Roddy, sorry for posting a question in one of your answers.Expediency
@Gary: I'd start here. w3.org/Graphics/JPEG - (and you posted your Q as a comment, which is perfect. No worries.)Jowett
@Gary: Drafts are freely available from ITU-T, see: en.wikipedia.org/wiki/…Isomerism

© 2022 - 2024 — McMap. All rights reserved.