What is MIME type "image/dpx"?

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

image/dpx is the MIME type for high-quality film image files. These files capture scanned film data and are used in professional post-production work.

The DPX format handles uncompressed images with high bit-depth. It preserves details such as color and contrast for precise editing and visual effects.

Use cases include:

The file type is associated with the DPX extension.

For additional details, view the DPX - Wikipedia.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: image/dpx    
  

HTML

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


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

Associated file extensions

FAQs

Can web browsers display image/dpx files natively?

No, standard web browsers like Chrome, Firefox, and Safari do not support image/dpx natively. This format is intended for professional film post-production rather than web display. To show these images online, you must convert them to web-compatible formats like JPEG or PNG.

How do I configure Apache to serve .dpx files?

You need to map the file extension to the correct MIME type in your configuration. Add AddType image/dpx .dpx to your .htaccess file or your main Apache config file. This ensures the server sends the correct Content-Type header to the client.

What software can open a DPX file?

You need professional video editing or color grading software to view .dpx files properly. Tools like DaVinci Resolve, Adobe After Effects, and Adobe Photoshop support this format. For a free alternative, the media player VLC or the command-line tool ImageMagick can also handle these files.

Why are DPX file sizes so large?

DPX files are typically uncompressed and store data at high bit depths (often 10-bit or 12-bit log) to preserve the dynamic range of scanned film. Unlike compressed formats like JPEG, image/dpx retains all original data for precise color grading and visual effects work.

How do I add image/dpx support to Nginx?

Open your mime.types file, which is usually located in /etc/nginx/ or /usr/local/nginx/conf/. Add the line image/dpx dpx; inside the types { ... } block and reload your Nginx server to apply the changes.

Is image/dpx the same as application/dpx?

While you might occasionally see application/dpx or image/x-dpx in older systems, image/dpx is the correct, IANA-registered MIME type. You should always use image/dpx when configuring web servers or applications to ensure maximum compatibility.

How can I convert a DPX file to a standard image format?

You can use command-line tools like FFmpeg or ImageMagick for conversion. For example, running ffmpeg -i source.dpx output.jpg will convert the high-fidelity film scan into a standard JPEG image viewable on any device.

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.