// Saving a DICOM that was loaded using iedrSetBlackWhite // The pixel values are automatically stretched to the BlackValue..WhiteValue range, and the Rescale Slope and Rescale Intercept tags are updated // Note: Do not call IEBitmap.StretchValues() yourself, as the Rescale tags will then be removed ImageEnView1.IO.SaveToFileDICOM( SaveImageEnDialog1.FileName );