BitmapSurfaceSaveToJPEG Method (String, Int32)Awesomium.NET 1.7.6Awesomium.NET
Save this bitmap to a JPEG image on disk.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0
Syntax

public bool SaveToJPEG(
	string filePath,
	int quality
)

Parameters

filePath
Type: SystemString
The file path (should have filename ending in .jpg).
quality
Type: SystemInt32
Indicates the compression quality (1-100, with 100 being best picture quality but highest file size).

Return Value

Type: Boolean
true if the operation succeeded; false otherwise.
See Also

Reference