{"id":"image-x-quicktime","mimeType":"image/x-quicktime","name":"QuickTime Image Format","shortName":"QTIF","category":"Legacy \u0026 Metafile Graphics","extensions":[".qtif",".qti",".qif"],"description":"The image/x-quicktime MIME type represents the QuickTime Image Format (QTIF), a legacy image format developed by Apple Computer in the early 1990s. Built upon the same atom-based container structure as QuickTime movies (.mov), a QTIF file essentially acts as a single-frame QuickTime video. Instead of defining its own pixel compression, it leverages Apple's Image Compression Manager (ICM), meaning a QTIF file can theoretically contain image data compressed with any codec installed on the host system's QuickTime framework (such as JPEG, SMC, Cinepak, or Apple Video). Because it is entirely dependent on the now-deprecated QuickTime architecture, the format is completely obsolete.","seo":{"title":"image/x-quicktime MIME Type | Developer Reference for QTIF","description":"Complete reference for the image/x-quicktime MIME type: QuickTime Image Format (QTIF), Apple ICM architecture, legacy Mac OS graphics, and atom structures.","faqs":[{"question":"What is a QTIF file?","answer":"A QTIF (QuickTime Image Format) file is a legacy Apple graphics format. It is essentially a QuickTime movie container that holds a single still image, compressed using whichever QuickTime codecs were available on the system at the time of creation."},{"question":"How do I open a QTIF file?","answer":"Modern operating systems and web browsers do not support QTIF natively, as Apple deprecated the QuickTime framework. To open them, you must use legacy software like QuickTime Player 7, or third-party media viewers that have reverse-engineered the format, such as XnView, GraphicConverter, or VLC (via FFmpeg)."},{"question":"Is QTIF the same as a QuickTime video (.mov)?","answer":"Structurally, they are very similar, utilizing the same 'atom' (or box) container architecture. However, a .mov file is designed for time-based media with multiple synchronized tracks, whereas a .qtif file typically just contains an 'idsc' (Image Description) and 'idat' (Image Data) atom representing a single still frame."}]},"index":{"compression":["Varies (JPEG, SMC, Apple Video, Cinepak, Uncompressed)"],"browserSupport":{"score":1,"label":"None (Historically required QuickTime web plug-in)"},"commonUses":["Classic Mac OS Applications and Backgrounds","QuickTime VR Panorama Textures","1990s CD-ROM Multimedia Assets"]},"technical":{"magicBytes":{"hex":"Varies (Typically begins with a 32-bit size integer followed by 69 64 73 63 ('idsc'))","ascii":"idsc"},"container":"QuickTime Atom Container","compressionAlgorithm":["QuickTime Image Compression Manager (ICM) Codecs"],"colorDepth":["1-bit to 32-bit (Varies depending on the enclosed codec)"],"transparency":true,"animation":false,"metadata":{"exif":false,"xmp":false,"iccProfile":false},"alphaChannel":true,"progressiveLoading":false,"hdrSupport":false},"history":{"developer":"Apple Computer, Inc.","released":"1991","specification":"Apple QuickTime File Format Specification"},"browserSupport":{"chrome":false,"chromeVersion":"None","firefox":false,"firefoxVersion":"None","safari":false,"safariVersion":"None","edge":false,"edgeVersion":"None","internetExplorer":false},"softwareSupport":[{"name":"QuickTime Player 7 (Legacy)","logo":""},{"name":"XnView","logo":""},{"name":"GraphicConverter (macOS)","logo":""},{"name":"FFmpeg","logo":""}],"conversion":{"convertTo":["png","jpeg","tiff"],"convertFrom":[]},"developer":{"httpHeaders":[{"header":"Content-Type","value":"image/x-quicktime"},{"header":"Content-Type","value":"image/qtif"}],"htmlAccept":"image/x-quicktime, .qtif, .qti","fileDetection":["Like QuickTime video files, QTIF files are made up of hierarchical data blocks called 'atoms' or 'boxes'.","A typical QTIF file begins directly with an Image Description atom. The first 4 bytes indicate the total size of the atom as a 32-bit big-endian integer, and the next 4 bytes contain the ASCII type string 'idsc' (Hex: 69 64 73 63).","This is usually followed by an Image Data atom, identifiable by the ASCII string 'idat' (Hex: 69 64 61 74)."]},"prosCons":{"pros":["Extremely flexible architecture allowing it to encapsulate virtually any image compression algorithm available on the host machine","Supported 32-bit images with alpha channels (transparency) long before PNG became an established standard"],"cons":["Fundamentally tied to Apple's deprecated QuickTime architecture, rendering the files almost entirely unreadable on modern systems without specialized legacy software or FFmpeg","The 'wrapper' nature of the format means that even if a parser can read the QTIF container, it may fail to render the image if it lacks the specific proprietary codec (like Apple SMC) used to compress the pixel data","Zero native support in modern web browsers"]},"specifications":{"url":"https://developer.apple.com/standards/qtff-2001.pdf","rfc":"","mimeAliases":["image/qtif","image/x-macpaint"]},"developerSnippets":{"python":"import magic\n# Libmagic can often detect QTIF files via the 'idsc' atom header\nprint(magic.from_file('graphic.qtif', mime=True)) # Outputs 'image/x-quicktime'","nodejs":"const fs = require('fs');\n// Sniffing for the 'idsc' QuickTime atom at byte offset 4\nconst buffer = Buffer.alloc(8);\nconst fd = fs.openSync('graphic.qtif', 'r');\nfs.readSync(fd, buffer, 0, 8, 0);\nfs.closeSync(fd);\nconst isQTIF = buffer[4] === 0x69 \u0026\u0026 buffer[5] === 0x64 \u0026\u0026 buffer[6] === 0x73 \u0026\u0026 buffer[7] === 0x63; // i, d, s, c\nconsole.log('Is QuickTime Image Format (QTIF):', isQTIF);","go":"import (\n    \"bytes\"\n    \"net/http\"\n    \"strings\"\n)\n// Native Go HTTP detection does not recognize QTIF.\n// You must explicitly check the extension or the 'idsc' atom:\n// isQTIF := len(buf) \u003e= 8 \u0026\u0026 string(buf[4:8]) == \"idsc\"","php":"$mime = mime_content_type('graphic.qtif');\necho $mime; // Standard PHP setups will likely return 'image/x-quicktime' or fallback to 'application/octet-stream'"},"relatedFormats":["pict","jpeg"]}
