Click or drag to resize

IImageGetAsJPEG Method

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

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

Parameters

scaleFactor  Single
scale factor
quality  Int32
image quality
pixelWidth  Int32
pixel width
pixelHeight  Int32
pixel height

Return Value

Byte
A stream representing the JPEG or null.
See Also