Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there different JPEG2000 file formats?

Tags:

jpeg2000

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?

like image 957
Roddy Avatar asked Jul 09 '09 14:07

Roddy


People also ask

What is the difference between JPEG and JPEG 2000?

Is JPEG or JPEG 2000 better? In terms of pure image quality, JPEG 2000 offers a better output than JPEG. This is because it has higher compression ratios, which means it can handle and compress an image up to 200% more than a JPEG. On the other hand, JPEGs are more practical.

What is a JPEG 2000 file?

JPEG 2000 is a wavelet-based image compression method that provides much better image quality at smaller file sizes than the original JPEG method. The JPEG 2000 file format also offers significant improvements over earlier formats by supporting both lossless and lossy image compression within the same physical file.

What is better JPEG 2000 or JPEG XR?

The basic JPEG is the worst at compression but JPEG XR and JPEG 2000 are very similar. The JPEG 2000 is a bit on the brighter side and tends to do a better job at blending the pixels. The black areas in the JPEG XR develop a checkerboard pattern when zoomed in.

Is a JPF the same as a JPEG?

A JPF file is an image saved in the JPEG 2000 (JP2) format, which is a successor to the . JPEG image format. It supports image transparency and may incorporate lossy or lossless compression. JPF files may also store metadata that describes the image.


1 Answers

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.

like image 86
Adam Wright Avatar answered Sep 19 '22 07:09

Adam Wright