[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.SaveAsJpeg

SaveAsJpeg Method

SaveAsJpeg(Stream, JpegOptions)

Saves the image into a Stream in JPEG format.

Declaration
public void SaveAsJpeg(Stream stream, JpegOptions options = null)
Public Sub SaveAsJpeg(stream As Stream, Optional options As JpegOptions = Nothing)
Parameters
Type Name Description
Stream stream

The output stream.

JpegOptions options

The options for the JPEG image encoder.

SaveAsJpeg(string, JpegOptions)

Saves the image to a file in JPEG format.

Declaration
public void SaveAsJpeg(string filePath, JpegOptions options = null)
Public Sub SaveAsJpeg(filePath As String, Optional options As JpegOptions = Nothing)
Parameters
Type Name Description
string filePath

The output file path.

JpegOptions options

The options for the JPEG image encoder.