iPhone 是否需要高分辨率和标准分辨率的副本?
想知道 iPhone 应用程序是否需要高分辨率和低分辨率图像。 拥有重复副本会增加文件大小,这是我需要减少的。
我过去构建过应用程序,并且只使用高分辨率,没有在文件名中附加@2x。这些应用程序在低分辨率和高分辨率设备上看起来都很棒。所以...
让我知道
Wondering if both a high res and low res image are required for iPhone Apps.
Having a duplicate copy increases file size which is something I need to cut down.
I've built apps in the past and only used high res, without @2x appended to the file name. The apps look great on Low res and High res devices. so...
Let me know
不需要同时具有两种图像类型。然而,由于 Retina 显示屏的分辨率不同,您可能会构建一个默认图像,该图像在 iPhone 4 上看起来不错,显示大量细节,但由于缺乏正确的分辨率,在其他 iPhone 上看起来会有所不同。此外,图像将被下采样,如果您的 UI 迷恋足够大,您宁愿提供两张图像,而不是只提供一张非常好的图像,并获取一张可接受的采样图像。
我不确定跳过一张图像只是为了减小文件大小是否是最好的方法,因为大多数时候默认图像不是最相关的媒体部分,因为图标、声音文件等往往会使用更多空间。
总结:我建议使用这两个图像并尝试在其他地方减小应用程序的大小。
It is not required to have both image types. However, since the resolution is different for the Retina display you might build a Default image that looks nice on the iPhone 4 showing lot of details, but will look different on the other iPhones due to lack of correct resolution. Furthermore the image will be downsampled and if your UI fetish is big enough you rather provide two images than only one very good and take an accaptable sampled image.
I'm not sure if it is the best approach to skip one image just to reduce file size because most of the time the Default images are not the most relevant media part, since icons, sound files etc tend to use more space.
To conclude: I would suggest using both images and try to reduce the App size somewhere else.