public void LoadFromBuffer(Byte[] data) { MemoryStream stream = data.ToMemoryStreamEx(); _image = System.Drawing.Image.FromStream(stream); _data = data; }