What is MIME type "image/x-raw-adobe"?

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

image/x-raw-adobe is a non-standard MIME type. It signals a raw image file containing unprocessed data from a camera sensor.

It is used by DNG files, also known as Adobe Digital Negative files. These files retain all the sensor data, which is ideal for detailed post-processing.

For more technical details, visit Adobe's DNG page.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: image/x-raw-adobe    
  

HTML

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


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

Associated file extensions

FAQs

Can web browsers display files with the image/x-raw-adobe MIME type?

No, standard web browsers like Chrome, Firefox, and Safari cannot natively render raw image data. To display these images on a website, you must convert the .dng file to a web-friendly format like image/jpeg or image/webp.

Is image/x-raw-adobe a standard IANA MIME type?

No, the x- prefix indicates that image/x-raw-adobe is a non-standard or experimental type. While widely recognized by Adobe software for handling DNG files, it is not officially registered with the IANA, and some systems may identify these files as image/tiff or image/x-adobe-dng instead.

How do I configure Apache to serve .dng files correctly?

You can associate the extension with the MIME type by editing your .htaccess file or server configuration. Add the following line: AddType image/x-raw-adobe .dng.

How do I set up Nginx to handle image/x-raw-adobe?

Open your mime.types file (usually located in /etc/nginx/) or your specific server block configuration. Add or ensure the following mapping exists: image/x-raw-adobe dng;.

Why would an application reject a DNG upload despite valid file content?

Web applications often validate uploads against a strict list of allowed MIME types. If the server detects the file as application/octet-stream or image/tiff instead of image/x-raw-adobe, the upload might fail. You may need to update the application's allowed MIME type list to include multiple variations used for DNGs.

What is the relationship between image/x-raw-adobe and TIFF?

The DNG format is based on the TIFF 6.0 standard. Consequently, some operating systems and software libraries may detect a DNG file as image/tiff. However, using image/x-raw-adobe specifically signals that the file contains Adobe's raw sensor data structure rather than a generic tag image file.

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.