// Saving a DICOM that was loaded using iedrSetBlackWhite
// Note: This will happen automatically if you attempt to save with DICOM_Range=iedrSetBlackWhite
ImageEnView1.IEBitmap.StretchValues();
ImageEnView1.IO.Params.DICOM_Range := iedrAdjust;
ImageEnView1.IO.SaveToFileDICOM( SaveImageEnDialog1.FileName );