]> Creatis software - gdcm.git/commit
// User should ask gdcm to write an image in Explicit VR mode
authorjpr <jpr>
Mon, 13 Mar 2006 14:44:07 +0000 (14:44 +0000)
committerjpr <jpr>
Mon, 13 Mar 2006 14:44:07 +0000 (14:44 +0000)
commitf2a52d001685df67875981cf460a9c2a078d62a4
treeebae5001157a5b2b26f29f8d6593a30527feb4f4
parentea76a94b72bfac08e9194487466b04d734e6bc23
// User should ask gdcm to write an image in Explicit VR mode
    // only when he is sure the VR of *all* the DataElements is known.
    // i.e : when there are *only* Public Groups,
    // or *all* the Shadow Groups are fully described in
    // the relevant Shadow Dictionnary.
    // Let's just *dream* about it; *never* trust a user !
    // If he doesn't, it write process will produce an 'illegal' Dicom image.
    // (it doesn't bother most of Dicom readers, but ...
    // Therae are enought illegal Dicom image in the world.
    // Don't add illegal gdcm-written Dicom images !

In order to avoid furter troubles,
We turn to Implicit VR if at least the VR of one element is unknown.
src/gdcmCommon.h
src/gdcmDataEntry.cxx
src/gdcmFileHelper.cxx