What is MIME type "image/x-neodesk-icon"?

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

The MIME type image/x-neodesk-icon identifies a specific icon image format used with the NeoDesk system. It tells programs that the file holds a small graphic designed to represent desktop items.

Files using this MIME type have the file extension NIC. This ensures that operating systems and applications know how to display them correctly.


This type is vendor-specific, denoted by the x- prefix, meaning it was created for a particular purpose rather than being a standardized Internet type. For more technical details on MIME types, visit IANA Media Types.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: image/x-neodesk-icon    
  

HTML

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


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

Associated file extensions

FAQs

Can I use image/x-neodesk-icon files on a modern website?

No, modern web browsers like Chrome, Firefox, and Edge do not support this legacy format natively. To display these icons on the web, you must convert the .nic files to a standard web-compatible format like image/png or image/svg+xml.

How do I open a file with the .nic extension?

These files are specific to the NeoDesk desktop environment used on Atari ST systems. To view or edit them, you typically need an Atari emulator (such as Hatari or Steem) or specialized image conversion software like XnView that supports legacy formats.

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

You can explicitly define the MIME type in your server's configuration or .htaccess file. Add the line AddType image/x-neodesk-icon .nic to ensure the server sends the correct Content-Type header to clients.

What does the 'x-' prefix mean in this MIME type?

The x- prefix indicates that image/x-neodesk-icon is a non-standard, proprietary, or experimental type. It was created specifically for the NeoDesk software and is not part of the standard IANA registry like image/jpeg.

Is image/x-neodesk-icon the same as image/x-icon?

No, these are distinct formats. While image/x-icon is commonly used for Windows icons (.ico) and web favicons, image/x-neodesk-icon is strictly for the NeoDesk system. Renaming the file extension will not make them compatible.

How do I add support for this MIME type in Nginx?

You can update your mime.types file or add a directive inside your server or location block. Use the syntax types { image/x-neodesk-icon nic; } to map the extension to the MIME type.

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.