Click or drag to resize

IImageStreamSource Interface

Implement this interface in any ImageSource implementations if you can provide a stream with the image instead of the image itself. This is useful if the caller needs information about the image (e.g. height and width) or wants to make a thumbnail or a tile from it and doesn't need all of the image data to do it.

Namespace:  Atalasoft.Imaging.ImageSources
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public interface IImageStreamSource

The IImageStreamSource type exposes the following members.

Public methodCode exampleGetImageStream
Returns an object that contains information about the stream that contains the requested image. When you call this, the ImageStream member of the returned object will be open and the caller is responsible for closing it.
See Also