jpg2dcm

Overview 

Encapsulate JPEG Image into DICOM Object.

Usage

jpg2dcm [Options] <jpgfile> <dcmfile>

Options

 -uid <prefix>   Generate UIDs with given prefix,1.2.40.0.13.1.<host-ip>
                 by default.
 -V,--version    print the version information and exit
 -bs <size>      Buffer size used for copying JPEG to DICOM file, 8192 by
                 default
 -c <file>       Configuration file specifying DICOM attribute values
 -cs <charset>   Specific Character Set, ISO_IR 100 by default
 -h,--help       print this message
 -ts <uid>       Transfer Syntax; 1.2.840.10008.1.2.4.50 (JPEG Baseline)
                 by default.

Example

jpg2dcm -c jpg2dcm.cfg report.jpg report.dcm

Encapsulate JPEG Image image.jpg into DICOM Object stored to image.dcm using DICOM Attribute values specified in Configuration file jpg2dcm.cfg.