JPEG 2000 Compound Image File Format
image/jpm
Released 2003
· by Joint Photographic Experts Group (JPEG)
JPM is Part 6 of the JPEG 2000 standard. It is a compound document format that utilizes the Mixed Raster Content (MRC) imaging model to divide scanned pages into multiple layers (e.g., text, foreground, and background). This allows each layer to be independently compressed with the most efficient algorithm (such as JPEG 2000 for images and JBIG2 for text), resulting in highly optimized file sizes for complex documents.
Technical Specifications
.jpm.jpgm
JPEG 2000JBIG2JPEGMMR
application/jpm
Magic Bytes & HTTP Headers
....jP ........ftypjpm
Browser Support Matrix
| Browser | Status | Min Version |
|---|---|---|
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | Legacy |
Advantages & Limitations
- Highly optimized for scanned documents, drastically reducing file sizes without sacrificing the readability of text or the quality of embedded photos
- Supports multi-page documents within a single file
- Object-based architecture allows for complex layout representation and independent extraction of elements
- Failed to achieve widespread adoption, largely being overshadowed by PDF/A and DjVu
- Zero native web browser compatibility
- Requires complex, specialized software to properly encode and decode the multi-layered MRC structure
Developer Code Snippets
File Detection Steps
How to programmatically detect a image/jpm
file by reading its raw bytes:
- 1 Check the first 12 bytes for the JPEG 2000 signature box (00 00 00 0C 6A 50 20 20 0D 0A 87 0A)
- 2 Verify the following File Type (ftyp) box contains the major brand string 'jpm ' (6A 70 6D 20)
Software Support
Conversion Tools
Share & Embed
[](https://freewebptojpg.com/mime/image/jpm)
<iframe src="https://freewebptojpg.com/mime/image/jpm/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="JPM Specs"></iframe>
JSON API
All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.
GET https://freewebptojpg.com/mime/image/jpm.json
Open JSON
Frequently Asked Questions
What is the difference between JP2 and JPM?
While both belong to the JPEG 2000 family, JP2 (Part 1) is designed for single, continuous-tone still images. JPM (Part 6) is a compound document format designed for multi-page, multi-layered documents, similar in purpose to PDF or DjVu, allowing mixed compression methods within a single page.
What is the magic byte for a JPM file?
JPM files begin with the standard JPEG 2000 12-byte signature box (00 00 00 0C 6A 50 20 20 0D 0A 87 0A). They are uniquely identified by the 'ftyp' box that immediately follows, containing the major brand 'jpm ' (6A 70 6D 20 in hex).
Can I open JPM files in a web browser?
No. Modern web browsers do not natively support JPM files. They require specialized document viewers, or they must be converted to standard web formats like PDF or standard images for viewing.