简体   繁体   English

iPad视网膜图像 - 为什么使用两种不同的图像尺寸?

[英]iPad retina images - Why use two different image sizes?

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? 对于iPad Retina(或iPhone Retina),为什么我们需要有两种类型的图像尺寸并为视网膜版本添加@ 2x这样的后缀?

Can't we just have one type of retina resolution images and for devices that do not have retina display, let the device handle resizing the image to smaller (non-retina) size? 我们不能只有一种类型的视网膜分辨率图像,对于没有视网膜显示的设备,让设备处理图像尺寸调整为更小(非视网膜)尺寸?

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? iOS是如何知道您绘制的1px边框仍然是一半分辨率的1px边框?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iPad Retina-iPad使用iPhone视网膜图像 - iPad Retina - iPad uses the iPhone retina images 响应式图像在iPhone和iPad上具有不同的大小 - responsive image has different sizes on iphone and ipad 如果iPad图像不存在,则不会加载Retina图像(@ 2x~ipad)(~ipad) - Retina images (@2x~ipad) not loaded if iPad image doesn't exist (~ipad) iPhone / iPad和iPhone(Retina)/ iPad(Retina)中图像的理想分辨率 - Ideals Resolutions for Images in iPhone/iPad & iPhone(Retina)/iPad(Retina) 如何在iPhone和iPad中以不同的大小显示相同的图像 - How To Show Same Images In Different For Sizes In Iphone And Ipad convertRect:toView:在iPad视网膜和iPad 2上的工作方式不同 - convertRect:toView: works different on iPad retina and iPad 2 约束照顾不同的iPhone / iPad尺寸的图像xcode 7 beta 4 - Constraints to take care of different iPhone/iPad sizes for images xcode 7 beta 4 jQuery mobile - 带和不带视网膜显示的图像尺寸 - jQuery mobile - Image sizes with and without retina display 在通用应用程序中使用@ 2x视网膜图像用于ipad? 苹果更喜欢原生应用吗? - Use @2x retina images for ipad in universal app? and does apple prefer native apps? UIButton自定义视网膜图像在iPad Retina Display中伸展 - UIButton custom retina image stretched in iPad Retina Display
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM