MPfm: Music Player for Musicians - Developer Documentation -
ImageToByteArray Method (imageToConvert, formatOfImage)
NamespacesMPfm.CoreConversionImageToByteArray(Image, ImageFormat)
The ImageToByteArray static function converts an Image object into a byte array.
Declaration Syntax
C#Visual Basic
public static byte[] ImageToByteArray(
	Image imageToConvert,
	ImageFormat formatOfImage
Public Shared Function ImageToByteArray ( _
	imageToConvert As Image, _
	formatOfImage As ImageFormat _
) As Byte()
imageToConvert (Image)
Image object to convert
formatOfImage (ImageFormat)
Format of the Image object (jpg, gif, etc.)
Return Value
Image object converted into a byte array

Assembly: MPfm.Core (Module: MPfm.Core) Version: (