- Home /
Question by
MichaelTaylor3d · Nov 28, 2012 at 04:17 PM ·
colortexture2dsetpixels
Convert a byte array to color data
how do you convert a raw byte array that represents an image to color data that you can use on Texture2D.SetPixels() to reconstruct the image as a Texture2D?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613084635im_/https://answers.unity.com/themes/thub/images/avi.jpg)