T
T
Tanya_Volk2014-04-22 12:08:26
Software testing
Tanya_Volk, 2014-04-22 12:08:26

How to eliminate the pixelation of an icon?

Hello. When developing the application, we encountered the following problem: the application icons look pixelated, although they were saved in the right size for ios with a resolution of 72 dpi (the right size) for android 120-140-160 dpi (the right size).
Tested on Ipad Retina, iphone 4s and Samsung Galaxy tab everywhere the same pixel.
What could be the problem here?
Thanks in advance for your replies)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Petrov, 2014-04-22
@dzhiriki

For example, you need a 16x16 icon. Save it with four times the size, i.e. 32x32.
When outputting, reduce to 16x16. As a result, on retina screens of 16x16 logical pixels, which are just 32x32 physical pixels, a 32x32 icon will be inscribed and there will be no soap.

L
Leonid Nikulin, 2014-06-22
@France_Faust

Firstly, on ios, developers do not have the concept of a pixel :) They work with points, and a point is half the size of a pixel (this is for the designer). Those. the designer makes a 52*52 pixel icon and saves it as [email protected] (@2x means this icon will be used for the retina display). For non-retina displays, nothing is currently being done. And the developer writes the size of the icon 26 * 26 points.
Secondly, for Android it is not necessary to keep dpi 120-140-160. It is enough to save everything at 72 dpi, but in two sizes. The developer will put these icons in special folders with different screen densities.
Thirdly, never forget about the pixel perfect.
And everything will be fine :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question