I try to load a PNG file into Texture2D. But I found the texture2D got extra memory in Profiler.
This is the code:
WWW www = new WWW("file:///F:/1000.png"); // 256*256 RGB, no Alpha channel. The memory should be 192KB.
Texture2D tex = new Texture2D(0, 0, TextureFormat.RGB24, false);
www.LoadImageIntoTexture(tex); // 448KB in Profiler. (448=192+256)
tex.wrapMode = TextureWrapMode.Clamp;
GC.Collect() can’t fix the problem.
How to cut the extra memory 256KB?