Click or drag to resize

CefImageGetAsJpeg Method

Returns the JPEG representation that most closely matches |scale_factor|. |quality| determines the compression level with 0 == lowest and 100 == highest. The JPEG format does not support alpha transparency and the alpha channel, if any, will be discarded. |pixel_width| and |pixel_height| are the output representation size in pixel coordinates. Returns a CefBinaryValue containing the JPEG image data on success or NULL on failure.

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public CefBinaryValue GetAsJpeg(
	float scaleFactor,
	int quality,
	out int pixelWidth,
	out int pixelHeight
)

Parameters

scaleFactor  Single
 
quality  Int32
 
pixelWidth  Int32
 
pixelHeight  Int32
 

Return Value

CefBinaryValue
See Also