VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / DicomEncoder Class / SaveImagesCore(ImageCollection,Stream,IProgressController) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
SaveImagesCore(ImageCollection,Stream,IProgressController) Method (DicomEncoder)
In This Topic
Saves the image collection to the stream.
Syntax

Parameters

images
An image collection that must be saved.
stream
The stream, where image collection should be saved.
progressController
Progress controller.

Return Value

True - image collection is successfully saved to the stream;
false - image collection is not saved to the stream because collection is empty, saving is not necessary or canceled.
Exceptions
ExceptionDescription
Thrown if images or stream are null.
Thrown if image is locked and cannot be saved.
Throw if image collection contains not Bgr24-images.
Throw if image collection contains images with different sizes, resolutions, pixel formats or images are stored in different DICOM files.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also