ComponentOne Imaging for UWP
C1.UWP.Imaging Assembly / C1.Xaml.Imaging Namespace / JpgCodec Class / Encode Method / Encode(C1Bitmap,Int32) Method
C1Bitmap to encode.
Quality of the image from 0 to 100.

In This Topic
    Encode(C1Bitmap,Int32) Method
    In This Topic
    Gets a System.IO.Stream that contains a JPG representation of a C1Bitmap
    Syntax
    'Declaration
     
    Public Overloads Shared Function Encode( _
       ByVal bmp As C1Bitmap, _
       ByVal quality As System.Integer _
    ) As System.IO.Stream
    public static System.IO.Stream Encode( 
       C1Bitmap bmp,
       System.int quality
    )

    Parameters

    bmp
    C1Bitmap to encode.
    quality
    Quality of the image from 0 to 100.

    Return Value

    A System.IO.Stream that contains a JPG representation of the given C1Bitmap.
    See Also