iPad retina images - Why use two different image sizes?

后端 未结 1 1451
你的背包
你的背包 2021-01-23 10:01

For iPad Retina (or iPhone Retina as well), why do we need to have two types of image sizes and add a suffix like @2x for the retina version?

Can\'t we just have one ty

相关标签:
1条回答
  • 2021-01-23 10:36

    Resizing takes time and memory. And resizing while retaining sharpness is hard to do. Which algorithm do you use? Bicubic or bilinear? "But this icon looks better when resized with other-algorithm-here!" How is iOS meant to know that the 1px border you drew is still meant to be a 1px border at half the resolution?

    0 讨论(0)
提交回复
热议问题