Convert JPG to DCM
Convert a JPG into a Secondary Capture DICOM file with DCMTK or approved software.
Convert JPG files online
We don’t have a dedicated online converter for JPG to DCM yet, but you can convert JPG files online to these and more formats:
How to convert jpg to dcm file
- Graphics
- No ratings yet.
A DICOM-capable viewer, PACS, or medical archive may reject an ordinary photograph or scan until it is packaged as a .dcm file. Converting it creates a DICOM object, but it cannot reconstruct clinical metadata or image detail that the JPG never contained.
What the JPG format is
JPG, also called JPEG, is a raster image format used by cameras, phones, scanners, web browsers, Photoshop, GIMP, and photo-management applications. It normally uses lossy compression, so repeated editing and saving can remove detail. A JPG stores pixels and may contain dimensions, color information, and EXIF metadata; it normally has no DICOM attributes such as patient ID, study UID, series UID, modality, or pixel spacing.
What the DCM format is
DCM is a common filename extension, not a separate image format. The file normally contains a DICOM dataset: image pixels plus structured attributes, unique identifiers, acquisition details, and information used by DICOM viewers, PACS servers, and medical archives. DICOM files can also use other or no filename extension.
A JPG packaged as DICOM is generally a Secondary Capture image rather than an original CT, MR, ultrasound, or radiography object. It can satisfy software that requires DICOM syntax and provide a standardized container for the pixels, but it cannot create trustworthy patient, anatomical, acquisition, or measurement data from the image alone.
How to convert a JPG to DCM
Using DCMTK on Windows, macOS, or Linux
DCMTK provides the most controllable general-purpose method. Install it from an official package or a trusted operating-system distribution, then open a terminal in the directory containing the source file.
- Keep the original filename, such as
scan.jpg; renaming.jpgto.dcmdoes not convert the file. - Run
img2dcmwith the input and output filenames:img2dcm scan.jpg scan.dcm - Provide known demographic or study values when required by the receiving system:
img2dcm -k "PatientName=Doe^Jane" -k "PatientID=12345" scan.jpg scan.dcm - Inspect the resulting dataset:
dcmdump scan.dcm - Open the file in a DICOM viewer such as Weasis, MicroDicom, RadiAnt DICOM Viewer, or 3D Slicer. If a PACS rejects it, obtain its required attributes and SOP class from the PACS administrator.
Do not invent patient, examination, acquisition, or measurement values. For test images, use an approved de-identification policy; for real examinations, obtain the correct metadata from the source system rather than guessing it. The exact img2dcm options and supported input codecs depend on the installed DCMTK version.
Using a graphical application
A DICOM-oriented desktop application may offer Import image followed by Save as DICOM or Export → DICOM. Review the patient, study, series, and image fields before saving, and confirm that the output is a Secondary Capture object. Menu names and conversion capabilities vary by version, so DCMTK is preferable for repeatable or scripted work.
Using an online converter
Services such as CloudConvert, Convertio, or Zamzar may offer JPG-to-DICOM conversion, although format availability and metadata controls change. Use them only for non-sensitive test images unless your organization has approved the provider, its encryption, retention, and deletion terms. Remove embedded EXIF data when appropriate, verify that the service creates a DICOM dataset rather than changing the extension, and inspect the result with a viewer or dcmdump. Do not upload identifiable patient images to an unapproved service.
Quality and compatibility limitations
- Conversion does not improve quality. JPEG artifacts remain, and missing or discarded detail cannot be restored.
- If the converter does not resize the source, its pixel dimensions are retained; physical measurements are not reliable unless the original pixel spacing is known and entered correctly.
- A photograph or scanned document usually lacks modality-specific attributes, orientation, slice position, exposure data, acquisition context, and a valid Patient–Study–Series hierarchy.
- A technically valid DICOM file can still be rejected because a PACS requires accession numbers, institution fields, specific UIDs, a particular SOP class, or a particular transfer syntax.
- Do not use a converted JPG for diagnostic interpretation when the original DICOM study exists. The JPG may be downsampled, differently color-managed, or lossy-compressed.
JPG vs DCM: format comparison
How the JPG and DCM formats compare on the properties that matter most for this conversion.
| Property | .JPG JPEG File Interchange Format | .DCM DICOM image file |
|---|---|---|
| Compression | Lossy | Both |
| Transparency | No | No |
| Animation | No | No |
| Layers | No | No |
| Color depth | 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 | Long-term archiving |
| Introduced | 1992 | 1985 |
| Developer | Joint Photographic Experts Group | National Electrical Manufacturers Association (NEMA) / DICOM Standards Committee |
| MIME type | image/jpeg | application/dicom |
Suggested software and links: jpg to dcm converters
Additional formats for
jpg file conversion
- jpg to tns
- jpg to exe
- jpg to cdr
- jpg to png
- jpg to scr
- jpg to ico
- jpg to dat
- jpg to ecw
- jpg to svg
- jpg to rgb
- jpg to 3fr
- jpg to ai
- jpg to ani
- jpg to arw
- jpg to ascii
- jpg to avif
- jpg to bmp
- jpg to btw
- jpg to cap
- jpg to ccx
- jpg to cdt
- jpg to cgm
- jpg to cin
- jpg to cmx
- jpg to cpt
- jpg to cr2
- jpg to crw
- jpg to cur
- jpg to dcr
- jpg to dcx
- jpg to dds
- jpg to dicom
- jpg to djvu
- jpg to dng
- jpg to dpx
- jpg to drawing
- jpg to drw
- jpg to dwg
- jpg to dxf
- jpg to ec4
- jpg to el6
- jpg to el8
- jpg to emf
- jpg to emz
- jpg to epf
- jpg to eps
- jpg to epsf
- jpg to erf
- jpg to exr
- jpg to fff
- jpg to fit
- jpg to fits
- jpg to gem
- jpg to gif
- jpg to grd
- jpg to hdr
- jpg to heic
- jpg to icns
- jpg to icon
- jpg to idml
- jpg to iff
- jpg to indd
- jpg to inp
- jpg to is2
- jpg to jfif
- jpg to jif
- jpg to jp2
- jpg to jpc
- jpg to jpe
- jpg to jpf
- jpg to jps
- jpg to jpx
- jpg to jxl
- jpg to jxr
- jpg to kdc
- jpg to lbl
- jpg to lmk
- jpg to mbm
- jpg to mp3
- jpg to mrw
- jpg to ncd
- jpg to nef
- jpg to nrw
- jpg to odg
- jpg to ogg
- jpg to ora
- jpg to orf
- jpg to otg
- jpg to pat
- jpg to pbm
- jpg to pct
- jpg to pcx
- jpg to pdf
- jpg to pdn
- jpg to pef
- jpg to pgm
- jpg to pic
- jpg to pict
- jpg to pnm
- jpg to ppm
- jpg to pri
- jpg to ps
- jpg to psb
- jpg to psd
- jpg to pspimage
- jpg to ptg
- jpg to ptl
- jpg to pxd
- jpg to raf
- jpg to ras
- jpg to rw2
- jpg to rwl
- jpg to sdr
- jpg to sgi
- jpg to skf
- jpg to sr2
- jpg to srf
- jpg to std
- jpg to svgz
- jpg to tga
- jpg to tif
- jpg to tiff
- jpg to vector
- jpg to vsd
- jpg to vsdx
- jpg to wav
- jpg to wbmp
- jpg to webp
- jpg to wmf
- jpg to wpg
- jpg to xbm
- jpg to xcf
- jpg to xmp
- jpg to xpm