'\" t .\" Title: gdcm2pnm .\" Author: Mathieu Malaterre .\" Generator: DocBook XSL Stylesheets v1.79.2 .\" Date: 04/08/2024 .\" Manual: DICOM Manipulation. .\" Source: GDCM 3.0.22 .\" Language: English .\" .TH "GDCM2PNM" "1" "04/08/2024" "GDCM 3\&.0\&.22" "DICOM Manipulation\&." .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gdcm2pnm \- off\-screen rendering of DICOM images .SH "SYNOPSIS" .PP .if n \{\ .RS 4 .\} .nf gdcm2pnm [options] file\-in bitmap\-out .fi .if n \{\ .RE .\} .SH "DESCRIPTION" .PP The \fBgdcm2pnm\fR command line program takes as input a DICOM file and produces a rendered bitmap file\&. .SH "PARAMETERS" .PP .if n \{\ .RS 4 .\} .nf file\-in DICOM input filename bitmap\-out Bitmap output filename .fi .if n \{\ .RE .\} .SH "OPTIONS" .SS "specific options" .PP .if n \{\ .RS 4 .\} .nf .fi .if n \{\ .RE .\} .SS "general options" .PP .if n \{\ .RS 4 .\} .nf \-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 .fi .if n \{\ .RE .\} .SH "SIMPLE USAGE" .PP \fBgdcm2pnm\fR will take as input DICOM and render it into a bitmap file using the window/level attributes value\&. .PP .if n \{\ .RS 4 .\} .nf $ gdcm2pnm input\&.dcm output\&.png .fi .if n \{\ .RE .\} .PP It is much different from the gdcmraw or gdcmimg command line tool as it will render a DICOM image\&. This means that the output will be rendered in 8bits ready for display\&. .SH "SEE ALSO" .PP \fBgdcm2vtk\fR(1), \fBgdcmimg\fR(1) .SH "AUTHOR" .PP \fBMathieu Malaterre\fR .RS 4 Main developer .RE .SH "COPYRIGHT" .br Copyright \(co 2006, 2011 Mathieu Malaterre .br