DICOM vs JPEG for sharing medical images
Send a scan as DICOM and the recipient needs special software. Send it as JPEG and anyone can open it, but the file has lost things that cannot be put back. Here is exactly what, so you can choose.
Last reviewed 29 October 2026. Written by the dicompeek editors; sources are listed at the end.
They are different kinds of thing
JPEG is a way of compressing a picture. DICOM is a file format that holds a picture and a large set of attributes about it. The two overlap: the standard has a transfer syntax that stores the pixels of a DICOM file as baseline JPEG, and others for JPEG 2000 and JPEG-LS. A .dcm file can therefore contain JPEG-compressed pixels and still be DICOM (see transfer syntaxes). The comparison in this page is between a DICOM file and a stand-alone .jpg you would attach to an email.
What is in each
| DICOM file | Plain JPEG (.jpg) | |
|---|---|---|
| Pixel depth | 8 to 16 bits per sample and more are possible (BitsAllocated, BitsStored). CT and X-ray are typically 12 to 16 bits. | Baseline JPEG is 8 bits per sample. The standard's JPEG transfer syntaxes mention 8 and 12 bit, but the .jpg files browsers and phones open are 8-bit. |
| Pixel values | Stored values plus a rescale (RescaleSlope, RescaleIntercept) that turns CT into Hounsfield units. | A windowed picture. The original numbers cannot be recovered. |
| Window | Applied by the viewer, so you can re-window and see lung, bone or soft tissue from one file (window and level). | Fixed at the moment of export. Detail outside the chosen window is clipped to black or white. |
| Pixel size | PixelSpacing allows true measurements. | Nothing; no size information, so measurements are not possible. |
| Series and order | Study, series and instance UIDs and numbers group and sort slices. | One picture per file; order lives only in the file names you choose. |
| Compression | Often none or lossless; the file says which (LossyImageCompression flags lossy). | Lossy. Quality settings trade size for artefacts; 100% is still lossy. |
| Patient details | Name, ID, birth date, dates, UIDs and more, as tags. | None as metadata, unless text is burned into the picture. |
| Opens in | DICOM viewers, including this one in your browser. | Every browser, phone and email client. |
When to send which
- Another clinician, a second opinion, a research request: send DICOM. It is the only form that keeps the pixel values, spacing and series. A JPEG is not a substitute for the original for any measurement or re-reading.
- A relative, an insurer, a school or a website: a JPEG or PNG of the one key image is usually enough and easier to open. Convert it with DICOM to JPG, which applies the window you chose; nothing is uploaded.
- An archive copy for yourself: keep the original DICOM files, and the whole disc if you have one (how to read a patient CD).
- A patient who wants to look at their own scan: either; the open .dcm file guide shows how.
A JPEG is not an anonymous copy
Converting drops the tags, and with them the patient name stored in the file. It does not remove text that is part of the picture: many ultrasound and secondary-capture images have the name, ID or date drawn into the pixels, and the BurnedInAnnotation tag only says whether the file's author declared that. A recognisable face can also be rendered from a head CT. Look at the JPEG before you send it, and read de-identification basics if the data leaves the care setting.
Sources
- DICOM PS3.5 section 8.2, Native or Encapsulated Format Encoding (JPEG, JPEG-LS and JPEG 2000 pixel encodings inside DICOM)
- DICOM PS3.3 section C.7.6.3, Image Pixel Module (Bits Allocated, Bits Stored, Pixel Representation)
- DICOM PS3.3 section C.11, Modality LUT module (rescale to output units)
- ITU-T T.81 (the JPEG specification), for baseline JPEG's 8-bit sample precision
Related: what is DICOM. Not for clinical diagnosis. See the medical disclaimer.