ImageProcessor.LoadTextureFromPNG(byte[]) - Board Docs
Board
Board.Save. ImageProcessor
ImageProcessor.LoadTextureFromPNG(byte[]) Method
Converts a byte array containing PNG image data to a Texture2D.
public static Texture2D LoadTextureFromPNG(byte[] pngBytes);
Parameters
pngBytes System.Byte
The PNG image data as bytes.
Returns
A UnityEngine.Texture2D containing the loaded image if successful; otherwise null.