DPI在Retina iPad应用程序设计中 [英] DPI in Retina iPad app design

查看:168
本文介绍了DPI在Retina iPad应用程序设计中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道这是否属于StackOverflow或其他一些SE网站,但是这里有。

I don't know if this belongs in StackOverflow or some other SE site, but here goes.

我有一个PSD设计我有一个iOS开发团队转向进入Retina iPad应用程序。但是,这个设计是默认的72 dpi。

I have a PSD design I have an iOS development team turning into a Retina iPad app. However, this design is made in the default 72 dpi.

开发团队现在说设计应该是264 dpi(与Retina iPad相同) - 以及作为非Retina版的132 dpi版本。

The development team is now saying the design should be 264 dpi (same as a Retina iPad) -- as well as a 132 dpi version for the non-Retina edition.

这让我感到困惑,因为我的印象是dpi只代表一英寸输出的像素数,因此只会在印刷中起作用。 iPad的dpi只代表每英寸屏幕的像素数,因此不会根据我的大脑与PSD的dpi有关。特别是因为它已经是Retina所需的2048×1536尺寸。

This confuses me, as I was under the impression that dpi just represents how many pixels go into an inch of output, and therefore would only matter in printing. The dpi of an iPad just represents the number of pixels for each inch of screen, and therefore doesn't according to my brain have anything to do with the dpi of the PSD. Especially since it already is in the 2048×1536 size required for Retina.

我告诉他们这个,但是他们坚持认为,这让我怀疑我自己的无懈可击。

I told them this, but they insist, which has made me doubt my own infallibility.

谁在这里?设计文件的dpi是否与设备的dpi有关?什么会让一个聪明的开发团队认为这个?

Who's in the right here? Does the dpi of the design file have anything to do with the dpi of the device? What would make an otherwise smart dev team think this?

推荐答案

你的Photoshop文件的DPI并不重要。您可以进入Photoshop并将DPI更改为您想要的任何内容。然而,从非Retina到Retina的有点就像加倍你的DPI一样。

The DPI of your Photoshop file does not matter. You can go into Photoshop and change the DPI to whatever you want. Going from non-Retina to Retina is "sort of" like doubling your DPI, however.

如果你已经为iPad设定了1024x768分辨率的设计,您需要将设计重新设计为2048x1536。 dpi的概念发挥作用的是数据密度在视网膜和非视网膜分辨率下应保持一致。如果以非视网膜文件开始,您只需要以原始分辨率的4倍重新创建文件中每个基于位图的元素。这有点像从72 dpi到144 dpi。

If you've already created a design assuming a 1024x768 resolution for the iPad, you will need to recreate the design to at 2048x1536. Where the concept of dpi comes into play is that the density of data should remain consistent at both retina and non-retina resolutions. You'll just need to recreate each bitmap-based element in your file at 4 times the resolution you originally had if you start with a non-retina file. It is sort of like going from 72 dpi to 144 dpi.

这篇关于DPI在Retina iPad应用程序设计中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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