VintaSoft Barcode .NET SDK 16.0: Documentation for .NET developer
Vintasoft.Barcode.ImageSharp Namespace / ImageSharpImageCodecs Class / Encode Methods / Encode(VintasoftBitmap,Stream,String) Method
Syntax Requirements SeeAlso
In This Topic
Encode(VintasoftBitmap,Stream,String) Method (ImageSharpImageCodecs)
In This Topic
Encodes the specified bitmap to a stream.
Syntax
'Declaration

Public Overloads Overrides Sub Encode( _
ByVal bitmap
The bitmap.
As Vintasoft.Imaging.VintasoftBitmap, _
ByVal stream
The stream.
As System.IO.Stream, _
ByVal codecName
Name of the codec. Supported values are "BMP", "JPG", "JPEG", "PBM", "PNG", "TGA", "TIF", "TIFF", "WEBP".
As String _
)

Parameters

bitmap
The bitmap.
stream
The stream.
codecName
Name of the codec. Supported values are "BMP", "JPG", "JPEG", "PBM", "PNG", "TGA", "TIF", "TIFF", "WEBP".
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6

See Also