VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode.SkiaSharp Namespace / SkiaSharpImageCodecs Class / Decode Methods / Decode(Stream) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Decode(Stream) Method (SkiaSharpImageCodecs)
    In This Topic
    Decodes a bitmap from specified stream.
    Syntax
    'Declaration
    
    Public Overloads Overrides Function Decode( _
    ByVal stream
    The stream with image file in BMP, DNG, GIF, HEIF, JPEG, PNG or WEBP format.
    As System.IO.Stream _
    ) As Vintasoft.Imaging.VintasoftBitmap

    Parameters

    stream
    The stream with image file in BMP, DNG, GIF, HEIF, JPEG, PNG or WEBP format.

    Return Value

    A new instance of VintasoftBitmap class.
    Exceptions
    ExceptionDescription
    Thrown if image format is not supported.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7

    See Also