US Multi-frame ImageCIOD
Secondary Capture ImageCIOD
Multi-frame Single Bit SC ImageCIOD
Multi-frame Grayscale Byte SC ImageCIOD
Multi-frame Grayscale Word SC ImageCIOD
Multi-frame True Color SC ImageCIOD
X-Ray Angiographic ImageCIOD
X-Ray Radiofluoroscopic ImageCIOD
RT Structure SetCIOD
Digital X-Ray ImageCIOD
Digital Mammography X-Ray ImageCIOD
Digital Intra-Oral X-Ray ImageCIOD
RT Beams Treatment RecordCIOD
RT Brachy Treatment RecordCIOD
RT Treatment Summary RecordCIOD
VL Endoscopic ImageCIOD
VL Microscopic ImageCIOD
VL Slide-Coordinates Microscopic ImageCIOD
VL Photographic ImageCIOD
Video Endoscopic ImageCIOD
Video Microscopic ImageCIOD
Video Photographic ImageCIOD
VL Whole Slide Microscopy ImageCIOD
Real-Time Video Endoscopic ImageCIOD
Real-Time Video Photographic ImageCIOD
Grayscale Softcopy Presentation StateCIOD
Color Softcopy Presentation StateCIOD
Pseudo-Color Softcopy Presentation StateCIOD
Blending Softcopy Presentation StateCIOD
Basic Structured DisplayCIOD
XA/XRF Grayscale Softcopy Presentation StateCIOD
Advanced Blending Presentation StateCIOD
Basic Voice Audio WaveformCIOD
Ambulatory ECGCIOD
Hemodynamic WaveformCIOD
Basic Cardiac Electrophysiology WaveformCIOD
Arterial Pulse WaveformCIOD
Respiratory WaveformCIOD
General Audio WaveformCIOD
Real-Time Audio WaveformCIOD
Basic Text SRCIOD
Enhanced SRCIOD
Comprehensive SRCIOD
Key Object Selection DocumentCIOD
Mammography CAD SRCIOD
Procedure LogCIOD
X-Ray Radiation Dose SRCIOD
Spectacle Prescription ReportCIOD
Macular Grid Thickness and Volume ReportCIOD
Implantation Plan SR DocumentCIOD
Comprehensive 3D SRCIOD
Radiopharmaceutical Radiation Dose SRCIOD
Extensible SRCIOD
Acquisition Context SRCIOD
Simplified Adult Echo SRCIOD
Patient Radiation Dose Structured ReportCIOD
Planned Imaging Agent Administration SRCIOD
Performed Imaging Agent Administration SRCIOD
Rendition Selection DocumentCIOD
Enhanced MR ImageCIOD
MR SpectroscopyCIOD
Enhanced MR Color ImageCIOD
Raw DataCIOD
Enhanced CT ImageCIOD
Spatial RegistrationCIOD
Deformable Spatial RegistrationCIOD
Spatial FiducialsCIOD
Ophthalmic Photography 8 Bit ImageCIOD
Ophthalmic Photography 16 Bit ImageCIOD
Stereometric RelationshipCIOD
Hanging ProtocolCIOD
Encapsulated PDFCIOD
Encapsulated CDACIOD
Real World Value MappingCIOD
Enhanced XA ImageCIOD
Enhanced XRF ImageCIOD
RT Ion Beams Treatment RecordCIOD
Ophthalmic Tomography ImageCIOD
X-Ray 3D Angiographic ImageCIOD
X-Ray 3D Craniofacial ImageCIOD
Breast Tomosynthesis ImageCIOD
Enhanced PET ImageCIOD
Surface SegmentationCIOD
Color PaletteCIOD
Enhanced US VolumeCIOD
Lensometry MeasurementsCIOD
Autorefraction MeasurementsCIOD
Keratometry MeasurementsCIOD
Subjective Refraction MeasurementsCIOD
Visual Acuity MeasurementsCIOD
Ophthalmic Axial MeasurementsCIOD
Intraocular Lens CalculationsCIOD
Generic Implant TemplateCIOD
Generic Implant Template DescriptionMModule - Implant Template
Generic Implant Template 2D DrawingsUModule - Implant Template
(0068,62C0) HPGL Document Sequence1Sequence
(0068,62D0) HPGL Document ID1Unsigned Short
(0068,62D5) HPGL Document Label3Long String
(0068,62E0) View Orientation Code Sequence1Sequence
(0068,62F0) View Orientation Modifier Code Sequence3Sequence
(0068,62F2) HPGL Document Scaling1Double
(0068,6300) HPGL Document1Other Byte String
(0068,6310) HPGL Contour Pen Number1Unsigned Short
(0068,6320) HPGL Pen Sequence1Sequence
(0068,6346) Recommended Rotation Point1Double
(0068,6347) Bounding Rectangle1Double
Generic Implant Template 3D ModelsUModule - Implant Template
Generic Implant Template Mating FeaturesUModule - Implant Template
Generic Implant Template Planning LandmarksUModule - Implant Template
SOP CommonMModule - Implant Template
Surface MeshCModule - Surface Mesh
Implant Assembly TemplateCIOD
Implant Template GroupCIOD
RT Beams Delivery InstructionCIOD
Ophthalmic Visual Field Static Perimetry MeasurementsCIOD
Intravascular Optical Coherence Tomography ImageCIOD
Ophthalmic Thickness MapCIOD
Surface Scan MeshCIOD
Surface Scan Point CloudCIOD
Legacy Converted Enhanced CT ImageCIOD
Legacy Converted Enhanced MR ImageCIOD
Legacy Converted Enhanced PET ImageCIOD
Corneal Topography MapCIOD
Breast Projection X-Ray ImageCIOD
Parametric MapCIOD
Wide Field Ophthalmic Photography Stereographic Projection ImageCIOD
Wide Field Ophthalmic Photography 3D Coordinates ImageCIOD
Tractography ResultsCIOD
RT Brachy Application Setup Delivery InstructionCIOD
Planar MPR Volumetric Presentation StateCIOD
Volume Rendering Volumetric Presentation StateCIOD
Content Assessment ResultsCIOD
CT Performed Procedure ProtocolCIOD
CT Defined Procedure ProtocolCIOD
Protocol ApprovalCIOD
Ophthalmic Optical Coherence Tomography En Face ImageCIOD
Ophthalmic Optical Coherence Tomography B-scan Volume AnalysisCIOD
Encapsulated STLCIOD
Encapsulated OBJCIOD
Encapsulated MTLCIOD
RT Physician IntentCIOD
RT Segment AnnotationCIOD
RT Radiation SetCIOD
C-Arm Photon-Electron RadiationCIOD
Tomotherapeutic RadiationCIOD
Robotic-Arm RadiationCIOD
Basic DirectoryCIOD

Built with by Innolitics, a team of medical imaging software developers.

Data synced with official DICOM standard on 12 May 2020. The DICOM Standard is under continuous maintenance, and the current official version is available at DICOM Parts 3, 4, and 6, © NEMA. Please note that the most recent PDF version of the standard is the official reference, and should checked when making technical decisions.

HPGL Document Attribute

TypeRequired (1)
Value Multiplicity1
Value RepresentationOther Byte String (OB)

The HPGL document as a byte stream. See Section C.

Section C.

C. HPGL Document

The HPGL files encapsulated in the Attribute HPGL Document (0068,6300) is restricted to a subset of HPGL commands called DICOM-HPGL specified in this section.

C. Scope

The aim of DICOM-HPGL is to facilitate the storage of 2D template graphics in DICOM implant objects. DICOM-HPGL is a subset of HPGL-2 that is kept as minimal as possible to comply with the needs of 2D implant templates.

C. Syntax

DICOM-HPGL documents consist of valid HPGL commands terminated by a semicolon. Commands consist of a two-letter mnemonic and zero or more numeric parameters separated by commas. To separate between commands, line breaks (x0D, x0A or x0Dx0A) or whitespaces (x20) may be used but are not mandatory.

Only the following commands shall be used in a DICOM-HPGL document

Table C.29.1.2-2. Permitted HPGL Commands









Plot Absolute. The optional parameter assigns an initial position for the pen.


Pen Number,




Set Color of Pen with the given Pen Number. Colors are in RGB, intensities are encoded 0…255. The colors for pen number 0 shall be white and the color for pen number 1 shall be black. It is recommended to use only the pen numbers up to 255 to ensure compatibility with older HPGL viewers.


Pen Number

Select Pen

It is recommended to use only the pen numbers up to 255 to ensure compatibility with older HPGL viewers.

Only pen numbers shall be used to which a color has been specified in a precedent PC command.



Pen Up. The optional sequence of paired parameters describe subsequent pen motions after lifting the pen.



Pen Down. The optional sequence of paired parameters describe subsequent pen motions after lowering the pen.

According to the parameter definition in HPGL, [] indicate optional parameters. The expression [X,Y,…[,X,Y]] indicates a sequence of arbitrary length of paired parameters X and Y. The commands and their parameters shall be interpreted as specified in the HP PCL/PJL Reference.

The coordinates in a DICOM-HPGL document are absolute values with respect to the lower left corner of the drawing space. The units of length within HPGL are 25 µm with respect to pen movements in the drawing space.

The DICOM-HPGL Document shall be structured as shown in Figure C.29.1.2-1.

Figure C.29.1.2-2 shows an example for a DICOM-HPGL Document in plain text (as byte stream), and plotted.

Figure C.29.1.2-1. DICOM-HPGL Document

Figure C.29.1.2-2. DICOM-HPGL Document - Example