[英]iPhone 7 Plus background image size
What are the proper dimensions of a background image on iPhone 7 Plus? iPhone 7 Plus上背景图片的正确尺寸是多少? I have seen answers which indicate 1242x2208 which gets downsampled to 1080x1920 on-the-go.
我看到的答案表明1242x2208会在移动过程中降采样为1080x1920。 I cannot understand, why 1242x2208 is the appropriate size, since 2208px/0.66 (equivalent to 2/3) is not equal to iPhone 7's height (1334px).
我不明白,为什么1242x2208是合适的尺寸,因为2208px / 0.66(相当于2/3)不等于iPhone 7的高度(1334px)。 I know I can make my image be 1334px, it wouldn't be a big problem.
我知道我可以将图片设置为1334像素,这不是什么大问题。 But I don't understand the math behind it.
但是我不理解其背后的数学原理。
Logically the device accepts input of 2208px x 1242px
for rendering which divided by 3x
retina factor ends up as 736 x 414
logical points frame. 逻辑上,设备接受
2208px x 1242px
的渲染输入,除以3x
视网膜因子最终得到736 x 414
逻辑点帧。 The downscaling by 1.15x
for the physical 1920 x 1080 pixels
happens in the iPhone hardware rendering pipeline. iPhone硬件渲染管道中发生了针对
1920 x 1080 pixels
物理1920 x 1080 pixels
的1.15x
缩小。 This allows Apple keeping the same frame coordinate system for 1x
2x
3x
screens. 这样一来,Apple可以为
1x
2x
3x
屏幕保持相同的帧坐标系。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.