Where can I see my image sizes AFTER compression?

Hi All,

The Question: Where can I see my image sizes AFTER compression?

I know what the total app sizes is, but where can I see each individual asset’s size?
I want to know how a subtle change in my image construction or compression options effects the final built size.

Any help is appreciated.

Mitsu1

After you build it? Or after you import it into Unity?

When you select a texture in the Project tab, the Inspector will show it’s Memory size. This is after Impor, after compression is applied.

Well, both…

First in Unity, i have the same image imported twice just with different names and here is what it says in the inspector window for both:

Image 1:

Size: 1024x1024, no mipmaps
Format: PVRTC 4 bits per pixel RGBA compressed
Memory: 512.0 KB

image 2:

Size: 1024x1024, no mipmaps
Format: PVRTC 4 bits per pixel RGBA (not compressed yet)
Memory: 512.0 KB

I may not understand what I am looking at but the file size is the same for both which tells me that Unity is not displaying the compressed size in the inspector.

It would be great to see what the finished iPhone image size will be right in the inspector window, but for now I have my doubts that it is showing me what I want to see.

Mitsu1

512kb is compressed for a 1024x1024 without mipmaps.

Without compression it would be 4MB (1024 * 1024 * 4 bytes)

Or are you talking about the “on the iphone size before loading”? In that case you need to look into the build log after building your game, the different sizes and reductions are listed there.

First, Thank you both for your response.

dreamora, if 512kb is the compressed size for a 1024x1024 image without mipmaps, then how come the UNcompressed example i listed for “image 2” doesn’t display 4MB in the inspector panel?

I just don’t understand why both examples are showing the same file size.

Oh and thank you for your comment about the build log. i will look at that as well.

Mitsu1