- copyH->ReplaceOrCreateByNumber( "8", 0x0028, 0x0100); // BitsAllocated
- copyH->ReplaceOrCreateByNumber( "8", 0x0028, 0x0101); // BitsStored
- copyH->ReplaceOrCreateByNumber( "7", 0x0028, 0x0102); // HighBit
- copyH->ReplaceOrCreateByNumber( "0", 0x0028, 0x0103); //Pixel Representation
+ copyH->ReplaceOrCreate( "8", 0x0028, 0x0100); // BitsAllocated
+ copyH->ReplaceOrCreate( "8", 0x0028, 0x0101); // BitsStored
+ copyH->ReplaceOrCreate( "7", 0x0028, 0x0102); // HighBit
+ copyH->ReplaceOrCreate( "0", 0x0028, 0x0103); //Pixel Representation