ImageHelperImageToBytes Method (Image, Int32) |
Converts Image to byte array.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public byte[] ImageToBytes(
Image img,
int quality
)
Parameters
- img
- Type: System.DrawingImage
Image object - quality
- Type: SystemInt32
Quality for JPG images
Return Value
Type:
ByteSee Also