How to convert 2D texture to JEPG format ?
Hello guys , i want to Create a preview image of a 2D texture in jpeg-format (100 x 143px, 24bpp) how can i do that i found here some answers but, to be honest i did get it. The question answer is down blow in this link http://docs.unity3d.com/ScriptReference/Texture2D.GetPixels.html where should i paste this code ? when i created a c# script with the name of the image nothing happened it stayed the same as any ordinary script .
Answer by akisrn · May 19, 2016 at 01:45 AM
Create a GameObject in your hierarchy and a script. Copy the codes from the link to the script you created. Then, drag the script to the GameObject.
Your answer
Follow this Question
Related Questions
Map video texture to a half sphere in Unity 1 Answer
no texutre 0 Answers
UV distortions in Blender when connecting vertices. 0 Answers
Unity missing textures in some parts of model 1 Answer
Unity-Chan animation hands 0 Answers