Saves the bitmap to an image of the specified imageFormat into a byte array
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public byte[] ToByteArray(
ImageFormat imageFormat
)
Public Function ToByteArray (
imageFormat As ImageFormat
) As Byte()
member ToByteArray :
imageFormat : ImageFormat -> byte[]
Parameters
- imageFormat
- Type: Eto.DrawingImageFormat
Return Value
Type:
Byte[Missing <returns> documentation for "M:Eto.Drawing.Bitmap.ToByteArray(Eto.Drawing.ImageFormat)"]
Remarks
This is merely a helper to save to a byte array instead of a stream.
See Also