DICOM MIME Type
application/dicom files contain, how to identify and open them, and how Poly handles .dcm medical imaging files. MIME type details for application/dicom
In active use| MIME type | application/dicom |
|---|---|
| Extensions | .dcm |
| Magic number | 44 49 43 4D at byte offset 128 |
| First standardized | 1993 |
| Created by | American College of Radiology and National Electrical Manufacturers Association |
| Browser support | No native browser support |
| Example applications | 3D Slicer, OsiriX MD |
| Poly support | Partial. Poly recognizes .dcm as application/dicom and stores, syncs, shares, and versions the file, but does not parse its DICOM data set. |
| Indexed by Poly | Partial. Poly indexes the DICOM file's name and ordinary file properties, but not patient, study, series, modality, or pixel data. |
| Preview in Poly | No. Poly classifies DICOM as an archive and does not provide an in-app medical image viewer or generated thumbnail. |
| Poly agent | No. The Poly agent cannot read the DICOM data set or reason about its medical images and metadata. |
What does application/dicom mean?
The application/dicom media type identifies data in the Digital Imaging and Communications in Medicine standard. A .dcm file can carry an image from CT, MRI, ultrasound, X-ray, or another modality together with the structured information needed to interpret it. DICOM also defines non-image objects, including structured reports, radiotherapy plans, waveforms, and presentation states, so it is more accurate to think of DICOM as a medical information format than as another photo format.1
The IANA registration recommends .dcm for files saved to disk, except for the special DICOMDIR directory file. It describes the intended use as interchange of biomedical images and identifies application/dicom as a binary media type.2
Where did DICOM come from?
The American College of Radiology (ACR) and the National Electrical Manufacturers Association (NEMA) formed a joint committee in 1983 to make medical images and related information portable between equipment from different manufacturers. ACR-NEMA 1.0 appeared in 1985 and 2.0 in 1988. In 1993, the committee substantially revised that work and replaced it with the standard named DICOM.4
That 1993 revision added support for TCP/IP networks, offline file exchange, service-oriented operations, and formal conformance statements. The DICOM Standards Committee now maintains the multipart standard, which NEMA publishes and updates continuously.4
The file format predates its MIME registration. IANA records application/dicom through RFC 3240, published in February 2002.25 The registration also defines an id parameter for a DICOM File ID when a multipart message represents a file set. It is not a generic filesystem path, and it may be absent when no DICOMDIR is included.2
How do you identify a .dcm file?
A DICOM PS3.10 file begins with a 128-byte preamble followed by the four ASCII characters DICM. In hexadecimal, the prefix is 44 49 43 4D at byte offset 128. File Meta Information follows the prefix and identifies the SOP Class, SOP Instance, transfer syntax, and implementation that wrote the file.3
| Region | Offset | Purpose |
|---|---|---|
| File preamble | 0 | 128 bytes reserved for an application or media profile, normally zero-filled |
| DICOM prefix | 128 | Four bytes spelling DICM |
| File Meta Information | 132 | Group 0002 elements encoded as Explicit VR Little Endian |
| Data set | After the meta information | The SOP Instance encoded with the declared transfer syntax |
The prefix is a useful signature, but a robust validator must also parse the meta elements and data set. DICOM explicitly warns readers not to use the preamble contents to decide whether the file is DICOM.3 A .dcm extension alone is likewise not proof of a valid or safe file.
DICOMDIR is a related special case. It is an index for a DICOM file set and also uses application/dicom, but its reserved filename distinguishes it from the referenced instances.2 It should stay with the directory structure and files it indexes.
Why is a DICOM file not just a JPEG?
JPEG describes compressed pixels. DICOM describes a clinical object, its metadata, and how its values are encoded. The Pixel Data element inside a DICOM object may be uncompressed or encapsulated with a codec such as JPEG or JPEG 2000. The Transfer Syntax UID tells a DICOM reader which encoding rules and pixel codec apply.36
| Property | DICOM file | Ordinary JPEG file |
|---|---|---|
| Main purpose | Exchange a medical SOP Instance | Exchange a raster image |
| Typical extension | .dcm | .jpg or .jpeg |
| Media type | application/dicom | image/jpeg |
| Metadata model | Structured patient, study, series, equipment, and acquisition attributes | Usually JFIF and optional EXIF or XMP |
| Pixel storage | Uncompressed or one of several declared transfer syntaxes | JPEG codestream in a conventional image wrapper |
| May contain no image pixels | Yes | No |
Extracting a JPEG-compressed frame does not preserve the surrounding DICOM object. Conversely, changing .dcm to .jpg does not make a browser understand the file.
How do you open an application/dicom file?
General-purpose browsers do not provide a native DICOM study viewer. The IANA registration anticipates that generic applications may save DICOM data without being able to interpret it.2 Use a DICOM-aware application instead:
- 3D Slicer imports files into its DICOM database and then loads supported objects through its DICOM browser. Its documentation notes that DICOM has many information-object types, so extensions may be needed for specialized objects.78
- OsiriX MD reads DICOM images and fields, organizes them in a database, and provides 2D, 3D, and 4D medical-image viewing on macOS.9
- A PACS workstation or a healthcare provider's supplied viewer may be the right choice for a clinical study, especially when presentation states and series relationships matter.
Import the whole folder when possible. Opening one arbitrarily selected slice can omit the rest of the series, and moving files without their DICOMDIR can break a portable file set's index.
Support in Poly
Poly recognizes .dcm filenames as application/dicom and classifies them in its archive category. It can store, sync, share, version, download, and find the outer file by name.
Poly currently treats the payload as opaque:
- It does not parse DICOM tags, transfer syntaxes, frames, or pixel data.
- It does not index patient, study, series, modality, report text, or image content.
- It does not generate a medical-image thumbnail or provide an in-app DICOM viewer.
- The Poly agent cannot read or reason about the DICOM object's contents.
This classification is an internal processing choice. A DICOM object is not an archive of member files like ZIP. Download it and use a trusted DICOM application when you need its clinical data. If you export a non-sensitive rendered image or report and add that separately, Poly can process the exported format through its normal image or document pipeline.
Converting DICOM to a common format
Choose the output according to what must survive:
- PNG or TIFF can preserve a rendered frame without adding another lossy generation. They do not preserve the complete DICOM metadata model or study relationships.
- JPEG is convenient for a small reference image, but it may introduce loss and usually reduces high-bit-depth medical pixels to a display-ready rendering.
- NIfTI or NRRD is often more useful for volumetric analysis, but conversion combines a series and changes the metadata model. Verify orientation, spacing, units, and coordinate conventions in the destination tool.
- DICOM-to-DICOM transcoding changes the transfer syntax while retaining the DICOM data model. This is preferable when the recipient still needs a clinical DICOM object.
Use export features in a DICOM-aware application rather than renaming the file. 3D Slicer, for example, treats DICOM as an import-and-load workflow and supports exporting selected data from its scene to other formats.7
Privacy and security considerations
DICOM commonly carries identifying and sensitive medical information. The media-type registration specifically calls out individual demographic information and recommends protecting exchanges according to applicable confidentiality policy.2 Patient identity can appear in standard attributes, private attributes, text, overlays, and pixels burned into an image.
Deleting a few obvious tags is not reliable anonymization. DICOM PS3.15 defines confidentiality profiles and options for replacing or removing attributes, cleaning pixel data, handling recognizable visual features, and maintaining consistency across related instances. It also warns that applying attribute rules alone does not guarantee that an information object is de-identified.10
The file structure itself needs defensive parsing. PS3.10 notes that the 128-byte preamble can contain malicious executable content and recommends validation or sanitization appropriate to the application.3 Open untrusted files only with maintained DICOM software, and validate both structure and declared transfer syntax before further processing.
Before sharing a study outside its clinical system:
- Use a DICOM de-identification tool with a documented conformance profile.
- Review private attributes and free-text fields.
- Check pixels, overlays, and derived images for burned-in identifiers.
- Preserve consistent replacement UIDs across the complete study when relationships matter.
- Validate the result and transfer it through an access-controlled channel.
How does application/dicom relate to DICOMweb types?
application/dicom represents a binary PS3.10 instance. DICOMweb also defines representations for particular web-service resources, including application/dicom+json for the DICOM JSON Model and application/dicom+xml for the Native DICOM Model. Rendered resources may be delivered as ordinary image types such as image/jpeg.11
These are adjacent representations, not alternate names for the same bytes. A server must serialize or render the DICOM information for the requested media type. Merely changing the HTTP Content-Type header does not convert a binary .dcm file to JSON, XML, or JPEG.
Footnotes
- DICOM Standards Committee. DICOM PS3.4, Section B.5: Standard SOP Classes. The registry of SOP Classes includes image, waveform, presentation-state, radiotherapy, and structured-report objects. ↩
- Internet Assigned Numbers Authority. application/dicom Media Type Registration. The registration defines the subtype, parameters, binary encoding, privacy considerations, recommended
.dcmextension, magic number, and intended use. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 - DICOM Standards Committee. DICOM PS3.10: Media Storage and File Format for Media Interchange. Section 7 specifies the preamble, prefix, file meta information, data-set encapsulation, and file-format security considerations. ↩ ↩2 ↩3 ↩4 ↩5
- DICOM Standards Committee. DICOM PS3.1, Section 1.3: History. The official history covers the ACR-NEMA committee, the 1985 and 1988 standards, and the 1993 DICOM revision. ↩ ↩2
- Internet Engineering Task Force. RFC 3240: Digital Imaging and Communications in Medicine (DICOM) - Application/dicom MIME Sub-type Registration. The RFC published the media-type registration in February 2002. ↩
- DICOM Standards Committee. DICOM PS3.5, Section 10.3: Default Lossy JPEG Compression Transfer Syntaxes. The standard identifies separate DICOM transfer syntaxes for 8-bit and 12-bit JPEG coding. ↩
- 3D Slicer Project. Data Loading and Saving. The guide documents DICOM database import, loading, and export workflows. ↩ ↩2
- 3D Slicer Project. DICOM Module Developer Guide. The guide explains the variety of DICOM information objects and Slicer's plugin-based import and export support. ↩
- Pixmeo. OsiriX MD DICOM Viewer. The product documentation describes its DICOM image, field, database, and multidimensional viewing support. ↩
- DICOM Standards Committee. DICOM PS3.15: Security and System Management Profiles. Annex E defines attribute confidentiality profiles and options for de-identification. ↩
- DICOM Standards Committee. DICOM PS3.18: Web Services. The standard defines DICOMweb media types for binary instances, JSON and XML metadata, bulk data, rendered resources, and thumbnails. ↩