Click or drag to resize
ImageHelperGetBytes Method
Gets the binary data for the given image

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static byte[] GetBytes(
	Image img,
	ImageFormat format
)

Parameters

img
Type: System.DrawingImage
Image
format
Type: System.Drawing.ImagingImageFormat
Format of the output

Return Value

Type: Byte
See Also