[]
        
Creates an Image from a byte array. JPEG, PNG, WEBP, GIF, BMP and TIFF formats are supported.
public static Image FromBytes(byte[] bytes, int frameIndex = 0)
Public Shared Function FromBytes(bytes As Byte(), Optional frameIndex As Integer = 0) As Image
| Type | Name | Description | 
|---|---|---|
| byte[] | bytes | The image data.  | 
    
| int | frameIndex | Index of an image frame to read, pass 0 for image formats not supporting multiple frames.  | 
    
| Type | Description | 
|---|---|
| Image | The newly created Image object.  |