how to turn an image into a texture in unity code example
Example: texture to image unity
Image pictureInScene; byte[] temp= File.ReadAllBytes ("pathTo/image.png"); Texture2D tempPic= new Texture2D (2, 2); fotillo.LoadImage (temp); pictureInScene.sprite = Sprite.Create (tempPic, new Rect (0, 0, 128, 128), new Vector2 ());//set the Rect with position and dimensions as you need