 | 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
Syntaxpublic CompressedImage(
Image image,
ImageFormat format,
int quality
)
Public Sub New (
image As Image,
format As ImageFormat,
quality As Integer
)
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