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

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

image/x-cin is the MIME type for the Cineon image format.
It is mainly used to handle high-dynamic-range images that come from scanning film.
Files in this format are marked with the extension CIN.
This MIME type helps ensure that images remain true to their original film quality for high-end editing and archival purposes. For more detailed info, visit Wikipedia on Cineon.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: image/x-cin    
  

HTML

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


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

Associated file extensions

FAQs

Can web browsers display image/x-cin files directly?

No, major browsers like Chrome, Firefox, and Safari do not natively support the Cineon format. To display these images on a website, you must convert them to standard web formats like JPEG or PNG using processing tools like ImageMagick or FFmpeg.

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

You can ensure your Apache server sends the correct headers by adding the following line to your .htaccess file or main configuration: AddType image/x-cin .cin. This tells the browser or downloading client that the file is a Cineon image.

What software opens files with the image/x-cin MIME type?

Since this is a professional film format, it requires specialized software like Adobe Photoshop, After Effects, Blackmagic DaVinci Resolve, or The Foundry Nuke. For simple viewing, utilities like XnView or IrfanView (with appropriate plugins) can often open .cin files.

What is the difference between image/x-cin and DPX?

The Cineon format (image/x-cin) was the predecessor to the DPX (Digital Picture Exchange) format. While both store high-dynamic-range film scan data, DPX is the modern standard (SMPTE) used in current workflows, whereas Cineon is mostly found in legacy archives and older film restoration projects.

Why does the MIME type image/x-cin start with 'x-'?

The x- prefix indicates that the type is non-standard or experimental and was not officially registered with the IANA at the time of its creation. While widely accepted in the motion picture industry, it remains a vendor-specific extension rather than a standard type like image/png.

How do I add support for image/x-cin in Nginx?

To configure Nginx, open your mime.types file (usually located in /etc/nginx/) and add the line: image/x-cin cin;. After saving the file, restart or reload the Nginx service to apply the new MIME type association.

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.