ImageEn, unit iemio

TImageEnMIO.SaveToStreamDICOM

TImageEnMIO.SaveToStreamDICOM


Declaration


procedure SaveToStreamDICOM(Stream: TStream; SelectedOnly: Boolean = False);


Description


Save all images in the attached TImageEnMView or TIEMultiBitmap to a stream in DICOM format.
If SelectedOnly = True and the component is attached to a TImageEnMView then only the selected images are output.
                            
Notes:
- DICOM requires each image to have the same width, height and pixel format (BitsPerSample and SamplesPerPixel).
- If an internal save error is encountered Aborting will return true. Saving issues due to insufficient write permissions and disk write failures will raise an exception.