Your company here ā€” click to reach over 10,000 unique daily visitors

gdcmpap3 - Man Page

Tool to convert PAPYRUS 3.0 to DICOM.


gdcmpap3 [options] file-in file-out


The gdcmpap3 command line program takes as input a PAPYRUS 3.0 file (file-in) and process it to generate an output (pseudo) DICOM file (file-out). The command line option dictate the type of operation(s) gdcmpap3 will use to generate the output file.


file-in   DICOM input filename

file-out  DICOM output filename


  -i --input      DICOM filename
  -o --output     DICOM filename

Specific Options

  -S --split            Split multiframes PAPYRUS 3.0 into multiples DICOM files
     --decomp-pap3      Use PAPYRUS 3.0 for decompressing (can be combined with --split).
     --check-iop        Check that the Image Orientation (Patient) Attribute is ok (see --split).

General Options

  -h   --help
         print this help text and exit

  -v   --version
         print version information and exit

  -V   --verbose
         verbose mode (warning+error).

  -W   --warning
         warning mode, print warning information

  -E   --error
         error mode, print error information

  -D   --debug
         debug mode, print debug information

Environment Variable


Simple Usage

gdcmpap3 is a great tool to convert broken PAPYRUS 3.0 implementation into properly parsable DICOM file. Usage is simply:

$ gdcmpap3 input.pa3 output.dcm

or if you prefer being explicit:

$ gdcmpap3 -i input.pa3 -o output.dcm

Even though gdcmpap3 can overwrite directly on the same file (input.pa3 = output.dcm), it is recommended that user should first convert into a different file to make sure the bug is properly handled by GDCM.

See Also

gdcmdump(1), gdcmconv(1), gdcminfo(1)


Mathieu Malaterre

Main developer


06/24/2024 GDCM 3.0.24 DICOM Manipulation.