Click or drag to resize
ImageHelperGetConvertedImageData Method
Transforms image to different format.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public byte[] GetConvertedImageData(
	ImageFormat format,
	int quality
)

Parameters

format
Type: System.Drawing.ImagingImageFormat
New image format
quality
Type: SystemInt32
Image quality applied when converting to JPG

Return Value

Type: Byte
See Also