What is MIME type "video/jpm"?

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

video/jpm is a MIME type for files that use the JPEG 2000 Part 6 container format. It stores high-quality compressed images and supports sequences of images like short animations.

Files associated with this MIME type typically come as JPM or JPGM.

Learn more about this MIME type and its role in modern media at IANA Media Types.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: video/jpm    
  

HTML

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


    <a href="file.dat" type="video/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', 'video/jpm');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

Do web browsers natively support video/jpm?

No, modern web browsers like Chrome, Firefox, and Edge do not natively support the video/jpm MIME type. To display content stored in JPM files on a website, you must convert them to a widely supported format like MP4 for video or PDF for documents, or use a specialized JavaScript-based decoder.

How do I configure a web server to serve JPM files?

You need to explicitly add the MIME type to your server configuration since it is not a default type. For Apache, add AddType video/jpm .jpm .jpgm to your .htaccess or config file. For Nginx, add video/jpm jpm jpgm; inside the types { ... } block in nginx.conf.

Why is the MIME type 'video/jpm' used for document images?

Although registered under the video tree, JPM (JPEG 2000 Part 6) is primarily a Compound Image File Format used for archiving complex documents with multiple layers (like scanned text and images). The video classification reflects its ability to handle sequences of images and animations, similar to how motion primitives work, even if the primary use case is often static multi-page documents.

What software can open files with the .jpm extension?

Specialized imaging software is required to open these files. Tools like XnView MP, IrfanView (with plugins), and certain Adobe Acrobat products can handle the JPEG 2000 Part 6 format. It is commonly found in professional digital archiving workflows rather than consumer media.

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

image/jp2 represents a standard, single still image using JPEG 2000 compression (Part 1). In contrast, video/jpm (Part 6) is designed for compound images, allowing for multiple layers, layout information, and sequences, making it more suitable for complex documents or animated sequences than a standard .jp2 file.

Are there security risks associated with video/jpm files?

As with any complex container format, parsing vulnerabilities (such as buffer overflows) can exist in the software used to view the files. Since video/jpm is handled by specialized libraries rather than standard browser engines, it is important to keep your viewing software, such as ImageMagick or XnView, updated to the latest version.

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.