Convert JPG to DICOM
Create a DICOM Secondary Capture from JPG with DCMTK and check its metadata.
Convert JPG files online
We don’t have a dedicated online converter for JPG to DICOM yet, but you can convert JPG files online to these and more formats:
Want to convert JPG to DICOM?
Let us know. We pick the conversions to add next by how many people ask for them.
How to convert jpg to dicom file
- Graphics
- No ratings yet.
A clinic, imaging archive, or DICOM viewer may require an image as a DICOM object before it can be imported or shared. Converting a JPG can package its pixels as a Secondary Capture image, but it does not make an ordinary photograph a medically acquired scan.
What the JPG format is
JPG, usually called JPEG, is a raster-image format that commonly uses lossy compression. Cameras, phones, scanners, browsers, and image editors create or display JPG files; the format is widely used for photographs and screenshots because it is broadly supported and often compact.
What the DICOM format is
DICOM is a standard for medical-image objects and related information. A DICOM object can contain pixel data plus metadata identifying the patient, study, series, and image, and DICOM also defines ways for imaging systems to exchange data. A JPG can be stored as a DICOM Secondary Capture object, but conversion cannot supply missing acquisition details, calibration, or clinical meaning.
How to convert a JPG to DICOM
For offline conversion, use DCMTK’s img2dcm utility. It accepts JPEG input and creates a DICOM Secondary Capture object. ImageJ can open JPG files, but its standard save options do not write DICOM, so it is not suitable for this conversion without a separate DICOM-writing plugin.
- Install DCMTK from its official distribution and open a terminal in the folder containing the image.
- Run
img2dcm -k "PatientName=DOE^JANE" -k "PatientID=12345" "input.jpg" "output.dcm". Replace the example patient values and filenames with the correct ones; do not put invented identifiers into clinical records. - Open
output.dcmin a DICOM viewer. Check the image and its patient and study metadata, and confirm that the receiving system accepts the Secondary Capture type and required fields. Correct missing or incorrect metadata using an approved workflow.
A web converter is appropriate only for non-sensitive images when its output can be checked for the required DICOM object type and metadata. Do not upload identifiable medical images to an unapproved service; generic converters may also omit fields required by the receiving system.
Quality and compatibility limits
JPEG compression discards image information, and DICOM conversion cannot restore it. Depending on the tool and settings, JPEG data may be retained in compressed form or decoded and re-encoded; neither process improves the source image. A converted file does not gain scanner acquisition data, spatial calibration, or diagnostic provenance. Use Secondary Capture only when that representation is suitable for the image and accepted by the destination system.
JPG vs DICOM: format comparison
How the JPG and DICOM formats compare on the properties that matter most for this conversion.
| Property | .JPG JPEG File Interchange Format | .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
Suggested software and links: jpg to dicom converters
Additional formats for
jpg file conversion
- jpg to pat
- jpg to png
- jpg to tns
- jpg to cdr
- jpg to ani
- jpg to mp3
- jpg to raw
- jpg to dat
- jpg to svg
- jpg to dxf
- jpg to 3fr
- jpg to aco
- jpg to ai
- 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 dcm
- jpg to dcr
- jpg to dcx
- jpg to dds
- jpg to djvu
- jpg to dng
- jpg to dpx
- jpg to drawing
- jpg to drw
- jpg to ec4
- jpg to ecw
- 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 exe
- 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 hpgl
- jpg to icns
- jpg to ico
- 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 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 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 plt
- 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 rgb
- jpg to rw2
- jpg to rwl
- jpg to scr
- 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