[Insight-developers] GDCM: writing files without extensions

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Dec 20 14:06:36 EST 2004


Lorensen, William E (Research) wrote:
> Mathieu,
> GDCM will not write files unless they vae the dcm extension. I would like to
> remove this restriction if SetImageIO is applied to the writer.
> 
> GDCM will read files without extensions (this is good).
> 
> Any objections?

Go for it. This was also an annoyance for me. I have tons of dicom file 
without extension, and I could not even read since it stoped at the 
extension matching.

BTW, if GDCM made it into the ImageFactory how are we going to handle 
that (without file extension) ? I believe we are defaulting on another 
type of image if no extension is found.

Mathieu




More information about the Insight-developers mailing list