# \#gdcm

**URL:** https://discourse.itk.org/tag/gdcm/88.md

[Latest](https://discourse.itk.org/latest.md) · [Categories](https://discourse.itk.org/categories.md) · [Tags](https://discourse.itk.org/tags.md)

---

## [Writing large multiframe DICOM files via GDCM in ITK](https://discourse.itk.org/t/writing-large-multiframe-dicom-files-via-gdcm-in-itk/7426)

<div class="topic-metadata">

**Author:** [@darrent1974](https://discourse.itk.org/u/darrent1974)\
**Replies:** 8\
**Last updated:** [September 4, 2026, 3:30am UTC](https://discourse.itk.org/t/writing-large-multiframe-dicom-files-via-gdcm-in-itk/7426 "2026-09-04T03:30:30Z")

</div>

Hi, I was hoping to use GDCMImageIO to write large to very large image volumes (~10 -1000GB) as single file, mutiframe DICOM files. I specifically want to avoid writing these images as a set of individual 2D slice files…

---

## [Encountering undefined Behavior when writing DICOM images](https://discourse.itk.org/t/encountering-undefined-behavior-when-writing-dicom-images/4587)

<div class="topic-metadata">

**Author:** [@Keyn34](https://discourse.itk.org/u/Keyn34)\
**Replies:** 4\
**Last updated:** [November 17, 2021, 3:26pm UTC](https://discourse.itk.org/t/encountering-undefined-behavior-when-writing-dicom-images/4587 "2021-11-17T15:26:05Z")

</div>

Hello everyone, I am currently encountering undefined behavior when trying to write a DICOM series with headers taken from another series. I use only the gdcmIO and loop through all files to read the header with ReadIma…

---

## [How to fix Assertion failed: slope == (int)slope with GDCM ImageIO while writing images with double/float slope](https://discourse.itk.org/t/how-to-fix-assertion-failed-slope-int-slope-with-gdcm-imageio-while-writing-images-with-double-float-slope/4487)

<div class="topic-metadata">

**Author:** [@Keyn34](https://discourse.itk.org/u/Keyn34)\
**Replies:** 1\
**Last updated:** [October 11, 2021, 7:50pm UTC](https://discourse.itk.org/t/how-to-fix-assertion-failed-slope-int-slope-with-gdcm-imageio-while-writing-images-with-double-float-slope/4487 "2021-10-11T19:50:59Z")

</div>

Hello everyone, In advance, I hope this question is okay, as it seems to concern GDCM more than ITK itself. I want to write a 4D series of DICOM images with header data retrieved from another series, basically patching…

---

## [\[SOLVED\] GDCMIO without image data element](https://discourse.itk.org/t/solved-gdcmio-without-image-data-element/1512)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 5\
**Last updated:** [January 10, 2019, 1:56pm UTC](https://discourse.itk.org/t/solved-gdcmio-without-image-data-element/1512 "2019-01-10T13:56:34Z")

</div>

Hello just a short question for reassurance: Does the gdcmIO can write a dicom without an actual image (e.g. for an RTStruct)? The documentation states: “ImageIO class for reading and writing DICOM V3.0 and ACR/NEMA 1&…
