[IOS] Image size, pixels, points

refer to:

1.http://www.cocoachina.com/ios/20170728/20045.html

2.http://www.cocoachina.com/ios/20170728/20045.html

 

Based on the above data, it is concluded that:

1. The unit on the storyboard is pt (point), and 10*10 is the multiplication of 10 pts

2. Ignore inches and ppi

3.27154706_GN8a.jpg

 

As can be seen from the above figure, the size of the storyboard of iphone6 ​​is 375*667, one point equals two pixels, then the screen pixel is 750*1334, which is twice the image.

 

Conclusion: If the image on the storyboard is 10*10, then the 2X image is 20*20 [this image is for iphone6 ​​models], and the 3X image is 30*30.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326067268&siteId=291194637