What is MIME type "image/x-mpo"?

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

image/x-mpo is the MIME type for files using the Multi-Picture Object format. These files contain several images within one container. They build on the standard JPG format to store additional picture data.

This format supports multi-angle views and 3D effects. It is common in devices that capture 3D images or panoramic shots. Specialized software or updated image viewers are needed to display every picture stored inside.

The MPO extension is also associated with this file type.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: image/x-mpo    
  

HTML

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


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

Associated file extensions

FAQs

What is the image/x-mpo MIME type used for?

This MIME type identifies Multi-Picture Object files, which contain multiple JPEG images within a single file to create stereoscopic 3D photos. It is commonly generated by devices like the Nintendo 3DS and various 3D digital cameras using the .mpo extension.

Can web browsers display image/x-mpo files in 3D?

Native browser support for the 3D aspect is limited; most browsers render the file as a standard 2D image (showing only the first frame) because it is backward-compatible with image/jpeg. To display the 3D effect or multiple frames on a webpage, developers typically use WebGL or specialized JavaScript libraries.

How do I configure my web server to serve MPO files?

To ensure browsers and clients recognize the file type correctly, add the MIME mapping to your server configuration. For Apache, add AddType image/x-mpo .mpo to your .htaccess file. For Nginx, add image/x-mpo mpo; inside the types block.

Why does my MPO file look like a normal JPG?

The MPO format is designed to be backward-compatible with the JPEG standard. If you open an image/x-mpo file in a viewer that does not support multi-picture data, it simply ignores the extra images and displays the first one as a standard photo.

How can I extract the individual images from an image/x-mpo file?

You need specialized software like StereoPhoto Maker or image conversion tools that support multi-page formats. Since the file structure concatenates JPEGs, simply renaming the file to .jpg usually allows you to view only the primary image.

What does the 'x-' prefix mean in image/x-mpo?

The x- prefix indicates that the MIME type is a non-standard or experimental subtype not officially registered with IANA at the time of its creation. Despite this, image/x-mpo is the de facto standard used by the industry for Multi-Picture Object files.

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.