Is there a way to set an image (e.i. png) to remain uncompressed?

Hi,

I've been trying to find this answer on the web and everyone seems to care about compressing rather than leaving something uncompressed.

In any case, I have png file that I need to keep uncompressed as i'm using the image to store very specific values that pertain to objects in a game. So for instance I have a map, and a territory on that map, I click on the ocean the color value is (0,0,0), and if I click on the territory it could be something like (5,5,5), but it I click somewhere in between it gives me a value like 0-5. My original png file doesn't have any aliasing, so I can only assume when unity compresses it, it does that automatically.

Is there a way to keep it uncompressed so that none of my values are changed? I've tried messing with changing the format variously, but nothing seems to work.

Any ideas?

In the texture import settings in Unity, set the texture to Truecolor (or RGBA 32 bit, or RGB 24 bit for non-alpha textures, when in Texture-Type : Advanced).

You access the import settings per texture by selecting the texture in the project view window.

If that doesn't work:

You may also want to make sure gamma and color profiles in your image editing application aren't messing with the values.