iPad视网膜图像 - 为什么使用两种不同的图像尺寸? [英] iPad retina images - Why use two different image sizes?

查看:127
本文介绍了iPad视网膜图像 - 为什么使用两种不同的图像尺寸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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 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?

推荐答案

调整大小需要时间和内存。在保持清晰度的同时调整大小很难。你使用哪种算法?双立方或双线性? 但是当使用 other-algorithm-here 调整大小时,此图标看起来更好! iOS如何知道您绘制的1px边框仍然是1px边框,分辨率只有一半?

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?

这篇关于iPad视网膜图像 - 为什么使用两种不同的图像尺寸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆