How to open .DRLE files on Linux

To open .DRLE files on Linux, use DICOM-capable tools; DCMTK documentation shows workflows for encoding to the DICOM RLE transfer syntax using "dcmcrle" (and similar toolchains can be used to make the data compatible with other viewers).

Step-by-step instructions

  1. Use DICOM-capable tools; DCMTK documentation shows workflows for encoding to the DICOM RLE transfer syntax using "dcmcrle" (and similar toolchains can be used to make the data compatible with other viewers).
  2. If your current viewer fails, transcode the DICOM to a transfer syntax it supports and then reopen the converted output.

Alternative methods

  • Open .DRLE in a browser-based viewer if desktop apps fail.
  • Try opening .DRLE on Linux with a secondary app to rule out app-specific issues.
  • Convert .DRLE only with trusted tools when direct opening is not possible.

Common issues

The file opens as “unknown format” or won’t preview

Many general image viewers do not support DICOM or the DICOM RLE Lossless transfer syntax, so the OS may not know what app to use.

  1. Open it with DICOM-capable tooling rather than a photo viewer.
  2. If your DICOM viewer does not support RLE transfer syntax, transcode within a DICOM toolchain to another DICOM transfer syntax your viewer supports, then try again.

Confusion about MIME type (image/dicom-rle vs image/dicom+rle)

Different ecosystems may label DICOM RLE differently; some mappings use "image/dicom-rle", while DICOM documentation references a media type parameter using "+rle".

  1. If you are integrating with a loader or pipeline, follow the mapping expected by that software (for example, an explicit mapping of .drle to a DICOM-RLE media type).
  2. When exchanging files, prioritize DICOM transfer syntax compatibility over the filename extension or MIME label.

Viewer opens the file but image looks wrong or fails to decode

This can happen when a tool does not fully implement the RLE encapsulation rules or expects a different transfer syntax.

  1. Verify the content is actually DICOM RLE Lossless (Transfer Syntax UID 1.2.840.10008.1.2.5) in your DICOM toolchain.
  2. Transcode the dataset to a more broadly supported DICOM transfer syntax and retry in the viewer.

Security note

.DRLE should be treated as DICOM-related content; DICOM decoders are complex, so only open files from trusted medical systems or known sources to reduce the risk of parser vulnerabilities.

Back to .DRLE extension page