What is MIME type "image/jpm"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

image/jpm is a MIME type for files that use the JPEGĀ 2000 PartĀ 6 container format. This container holds one or more images and can include extra data like metadata or thumbnails.
It uses the advanced concepts of the JPEGĀ 2000 standard to offer flexible, high-quality image storage.

The format is ideal for work that needs more than a single image in one file. It is common in professional imaging and digital archival applications.

Files of this type often use extensions like JP2, JPF, JPM, JPX, J2K, JPC, J2C, JPG2, JPGM, and MJ2.
For more details on JPEGĀ 2000, visit the JPEGĀ 2000 article.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: image/jpm    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="image/jpm">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'image/jpm');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

Do web browsers support the image/jpm MIME type?

Generally, no. Most modern browsers like Chrome, Firefox, and Edge do not natively support image/jpm or the JPEG 2000 Part 6 format. While Safari has some support for standard .jp2 files, reliable web delivery usually requires converting these files to standard formats like JPEG or PNG.

How do I configure Apache to serve JPM files?

You can enable this MIME type by adding an AddType directive to your .htaccess file or main configuration. Use the line: AddType image/jpm .jpm .jpgm .mj2. This ensures the server sends the correct header to the client.

How do I add image/jpm support to Nginx?

To serve these files correctly in Nginx, locate your mime.types file or the types block in your nginx.conf. Add the entry: image/jpm jpm jpgm mj2;. Reload Nginx to apply the changes.

What is the difference between image/jpm and image/jp2?

image/jp2 typically refers to the standard JPEG 2000 Part 1 format for single images. image/jpm refers to Part 6 (JPM), which is designed for compound images, allowing multiple images or layers (such as separated text and background in scanned documents) to be stored in a single container.

What software opens files with the image/jpm MIME type?

These files are often used in professional archiving and can be opened by specialized imaging software like XnView, IrfanView (with plugins), or Adobe Acrobat. Since JPM is often used for document imaging, some PDF processing tools also handle the format internally.

Why does my JPM image appear as a broken icon on my website?

This is almost always due to a lack of browser support. Since image/jpm is not a standard web image format, browsers cannot render it without specialized plugins. To fix this, convert the file to a web-safe format like image/jpeg or wrap the content in a PDF.

When should I use image/jpm instead of PDF?

Use image/jpm when you need a raw, high-efficiency container specifically for multi-layer raster images, such as in digital library archives. However, for general document distribution to end-users, PDF is preferred because it wraps similar compression technologies in a format that is universally viewable.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.