GDCM2PNM(1)
π GDCM2PNM π
okay so bestie, welcome to gdcm2pnm, straight out of the DICOM Manipulation corner of the manual-verse π yes that's the manual name, i'm folding it in right at the top because we're cute like that.
β¨ NAME β¨
gdcm2pnm β off-screen rendering of DICOM images πΌοΈ
β¨ SYNOPSIS β¨
gdcm2pnm [options] file-in bitmap-out
β¨ DESCRIPTION β¨
so basically, the gdcm2pnm command line program takes as input a DICOM file and produces a rendered bitmap file. that's it. that's the whole vibe. input goes in, pretty picture comes out π
β¨
β¨ PARAMETERS β¨
file-inβ DICOM input filenamebitmap-outβ Bitmap output filename
β¨ OPTIONS β¨
specific options
okay so there are literally no specific options listed here π like the section exists but it's empty, that's just how the page is, don't come for me π
general options
-h,--helpβ print this help text and exit π«Ά classic.-v,--versionβ print version information and exit β-V,--verboseβ verbose mode (warning+error). not me flipping this on to see what's actually going on π-W,--warningβ warning mode, print warning information πΈ-E,--errorβ error mode, print error information π-D,--debugβ debug mode, print debug information π₯ main character energy for the terminal
β¨ SIMPLE USAGE β¨
gdcm2pnm will take as input DICOM and render it into a bitmap file using the window/level attributes value. iykyk π
$ gdcm2pnm input.dcm output.png
and here's the tea β: 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. literally display-ready, no cap π
bestie pls don't mix this up withgdcmraworgdcmimgβ those are the other girlies, this one renders. π
β¨ SEE ALSO β¨
β¨ AUTHOR β¨
Mathieu Malaterre
- Main developer π
β¨ COPYRIGHT β¨
Copyright Β© 2006, 2011 Mathieu Malaterre
okay that's the whole page, ty for coming to my ted talk π¦ and a lil sign-off for the record: this is GDCM 3.0.24, dated 12/25/2025 β merry everything, go render something iconic π π
π¦ where this page comes from
- opensuse-leap 16.0: gdcm-applications 3.0.24-bp160.2.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gdcm-applications 3.0.24-bp160.2.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gdcm-applications 3.0.24-bp160.2.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gdcm-applications 3.0.24-bp160.2.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms