Click or drag to resize
Ranorex

CompressedImage Constructor (Image, ImageFormat, Int32)

Creates a new compressed image out of a given image.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public CompressedImage(
	Image image,
	ImageFormat format,
	int quality
)

Parameters

image
Type: System.DrawingImage
The image to compress.
format
Type: System.Drawing.ImagingImageFormat
The image format to use for storage.
quality
Type: SystemInt32
The quality to use for JPEG. Ignored otherwise.
See Also