Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview 

Utility overview and descriptionEncapsulate JPEG Image into DICOM Object.

Usage

No Format
Command line usagejpg2dcm [Options] <jpgfile> <dcmfile>

Options

No Format

Command line 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

No Format

Example command line

...


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

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