Warning: dcfilefo: (warning when saving DcmFileFormat objects)

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
AlreadyGoogled
Posts: 17
Joined: Wed, 2005-01-26, 16:43

Warning: dcfilefo: (warning when saving DcmFileFormat objects)

#1 Post by AlreadyGoogled »

Hi,

When saving a DcmFileFormat object I always get a warning:

Warning: dcfilefo: unknown Version of MetaHeader detected: 0x0101 supported: 0x0100

The image saves ok though, I am wondering if this warning could manifest itself in a bad way later on, or if I can just ignore it. This is how I'm saving the file:

Code: Select all

DcmFileFormat dcm_img;

dcm_img.saveFile(
    "C:\\out.dcm", 
    EXS_LittleEndianExplicit,
    EET_ExplicitLength,
    EGL_recalcGL,
    EPD_withoutPadding,
    0,
    0,
    OFFalse);
The image is loaded from an existing DICOM image, so I guess it has an incorrect (or unsupported) metaheader?
________
BUY VOLCANO VAPORIZER
Last edited by AlreadyGoogled on Sun, 2011-02-13, 00:31, edited 1 time in total.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

This warning tells you that the original meta-header was incorrect. The new file "out.dcm" should contain the correct version number.

See DcmFileFormat::checkValue() for details.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest