Skip to content

Convert JPEG to DICOM

Convert JPEG images to DICOM with DCMTK and check patient metadata and compatibility.

Convert JPEG files online

We don’t have a dedicated online converter for JPEG to DICOM yet, but you can convert JPEG files online to these and more formats:

Want to convert JPEG to DICOM?

Let us know. We pick the conversions to add next by how many people ask for them.

How to convert jpeg to dicom file

A PACS, medical viewer, or archive may require DICOM when an image is supplied as a JPEG from a camera, phone, or scanner. Conversion packages the image as a DICOM object, but it does not make an ordinary photograph a medically acquired scan.

What JPEG is

JPEG is a raster image format used by cameras, phones, scanners, web browsers, and editors such as Photoshop and GIMP. Typical JPEG images use lossy compression and may include EXIF metadata, but they do not provide DICOM’s structured patient, study, and imaging attributes.

What DICOM is

DICOM is a medical-imaging standard for storing pixel data with attributes such as patient identity, study and series identifiers, and image type. Medical systems use those attributes to organize and exchange images. A converted photograph is usually represented as a Secondary Capture image; it is not equivalent to an image acquired by an X-ray, CT, or other medical modality.

Convert with DCMTK

DCMTK’s img2dcm utility converts JPEG/JFIF images to DICOM offline. Install DCMTK from its official distribution or your operating system’s package repository, then run:

img2dcm photo.jpg photo.dcm

To include patient name and ID, provide the real values assigned by the responsible clinical system:

img2dcm -k "0010,0010=DOE^JANE" -k "0010,0020=12345" photo.jpg photo.dcm

0010,0010 is Patient Name and 0010,0020 is Patient ID. Replace the example values; do not invent identifiers. Add other required attributes only with verified values and according to the receiving system’s requirements. Inspect the output with dcmdump photo.dcm, then open it in a DICOM viewer and confirm the image and metadata before import. A PACS may impose requirements for additional attributes, identifiers, or image storage types.

Quality and compatibility limits

Conversion cannot restore detail lost through JPEG compression. Pixel dimensions alone do not establish physical size or diagnostic resolution; include pixel-spacing or other calibration information only when it is known and applicable. Do not upload identifiable medical images to an online converter unless your organization has approved the service and its data-handling terms.

JPEG vs DICOM: format comparison

How the JPEG and DICOM formats compare on the properties that matter most for this conversion.

Comparison of the JPEG and DICOM file formats
Property .JPEG Joint Photographic Experts Group image .DICOM Digital Imaging and Communications in Medicine
Compression Lossy Both
Transparency No No
Animation No No
Layers No No
Color depth True color (24-bit) True color (24-bit)
Metadata support Extensive Extensive
Opens in a web browser Yes, natively No
Typical file size Small Large
Open standard Yes Yes
Best used for Photographs Embedding in applications
Introduced 1992 1985
Developer Joint Photographic Experts Group National Electrical Manufacturers Association (NEMA) and the medical imaging standards community
MIME type image/jpeg application/dicom

Information about file extensions and file types is provided by File-Extensions.org

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.