Click or drag to resize

IImageGetAsJPEG Method

Version 81.3.100
Returns the JPEG representation that most closely matches scaleFactor.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 81.3.100.0 (81.3.100.0)
Syntax
byte[] GetAsJPEG(
	float scaleFactor,
	int quality,
	out int pixelWidth,
	out int pixelHeight
)

Parameters

scaleFactor
Type: SystemSingle
scale factor
quality
Type: SystemInt32
image quality
pixelWidth
Type: SystemInt32
pixel width
pixelHeight
Type: SystemInt32
pixel height

Return Value

Type: Byte
A stream representing the JPEG or null.
See Also