Table of Contents

Method CreateDecoderFromStream

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.dll

CreateDecoderFromStream(Stream, BitmapDecodeOptions, in ContainerFormat?, in VendorID?)

IBitmapDecoder CreateDecoderFromStream(Stream stream, BitmapDecodeOptions metadataOptions = BitmapDecodeOptions.MetadataCacheOnDemand, in ContainerFormat? containerFormat = null, in VendorID? preferredVendor = null)

Parameters

stream Stream
metadataOptions BitmapDecodeOptions
containerFormat ContainerFormat?
preferredVendor VendorID?

Returns

IBitmapDecoder