AtalaImageFromByteArray Method (Byte) |
Creates a new AtalaImage from a byte array containing an encoded image.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static AtalaImage FromByteArray(
byte[] buffer
)
Public Shared Function FromByteArray (
buffer As Byte()
) As AtalaImage
Parameters
- buffer
- Type: SystemByte
A byte array containing the encoded image.
Return Value
Type:
AtalaImageRemarks Another method of accomplishing the same thing would be to create a MemoryStream from the
byte array, and passing it into the AtalaImage constructor with a stream. This method was added
for convenience.
See Also