Rendy
Rendy

Reputation: 5698

Changed color when load image in iOS app?

I have following images:

Original PNG

enter image description here enter image description here

Load in iOS App

enter image description here enter image description here

As seen, left side icon color works perfectly, but for right side icon, why iOS load different color? It applies on both iOS simulator and device. Is it wrong setting when saving the PNG in Photoshop?

And I don't have any code to change the color or tint.

Upvotes: 1

Views: 70

Answers (1)

Rendy
Rendy

Reputation: 5698

It is not related to iOS code, since it also occured on Android.

The solution is, we need to use the actual bit depth. I use 8 bit depth (automatically by Photoshop) while actually the icon uses 16 bit depth when editing the icon.

Upvotes: 1

Related Questions