如何处理 iPhone 和 iPhone4 的应用程序 Icon.png 的高分辨率和低分辨率

发布于 2024-10-07 13:34:25 字数 600 浏览 0 评论 0原文

我已经提供了 Icon.png(适用于 iPhone)和 [电子邮件受保护](适用于 iPhone4)。 问题是,当我刚刚提供尺寸为 144x144 的 Icon.png 时,控制台输出以下消息:

“iPhone/iPod Touch: Icon.png: 图标尺寸 (144 x 144) 不符合尺寸要求。图标文件必须为 57x57 像素,.png 格式 (-19014)"

但这在 iPhone 和 iPhone4 中都能很好地呈现图标。

我希望能够消除此问题,因此我将 Icon.png 的大小减小到 57x57 并创建了 [电子邮件受保护],尺寸为 144x144。此后,iPhone 的图标看起来不错,但 iPhone4 使用 Icon.png 并且图标呈现低分辨率图像。

有什么建议吗? 谢谢!

I have already provided both Icon.png (for iPhone) and [email protected] (for iPhone4).
The thing is, when I just provided Icon.png of size 144x144, the console outputs this message:

"iPhone/iPod Touch: Icon.png: icon dimensions (144 x 144) don't meet the size requirements. The icon file must be 57x57 pixels, in .png format (-19014)"

But this renders icon in both iPhone and iPhone4 well.

I want to be able to remove this issue so I reduced the size for Icon.png to 57x57 and created [email protected] with size 144x144. After this, icon for iPhone seems fine but iPhone4 uses Icon.png and the icon renders a low res image.

Any suggestions?
Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

樱娆 2024-10-14 13:34:25

这是您需要制作的支持所有当前设备的图像

  • iTunesArtwork – iTunes AdHoc 图标
    distribution (512×512)
  • [email protected] – 主屏幕图标
    iPhone 4 (114×114)
  • icon-72.png – 主屏幕图标
    iPad (72×72)
  • [电子邮件受保护]
    iPhone 4 的设置/聚光灯图标
    (58×58)
  • icon.png – 主屏幕图标
    iPhone 3 (57×57)
  • icon-Small-50.png – 聚光灯图标
    适用于 iPad (50×50)
  • 图标-Small.png - 设置/Spotlight
    iPhone 3 的图标 (29×29)

来自我的博客 http://kgutteridge.co.uk/blog/2010/07/04/icon-sizes-filenames-for-ios-devices/

Heres the images you need to make to support all current devices

  • iTunesArtwork – Icon for iTunes AdHoc
    distribution (512×512)
  • [email protected] – Home screen icon for
    iPhone 4 (114×114)
  • icon-72.png – Home screen icon for
    iPad (72×72)
  • [email protected]
    Settings/Spotlight icon for iPhone 4
    (58×58)
  • icon.png – Home screen icon for
    iPhone 3 (57×57)
  • icon-Small-50.png – Spotlight icon
    for iPad (50×50)
  • icon-Small.png - Settings/Spotlight
    icon for iPhone 3 (29×29)

From my blog http://kgutteridge.co.uk/blog/2010/07/04/icon-sizes-filenames-for-ios-devices/

浅黛梨妆こ 2024-10-14 13:34:25

您需要 iPhone4 的双分辨率图像,并且 57X57 的双倍是 114X114 而不是 144X144。

you need double resolution image for iphone4 and the double of 57X57 is 114X114 and not 144X144.

缪败 2024-10-14 13:34:25

图标大小将为 114X114 而不是 144X144。 Apple 为此提供了以下文档:
http://developer.apple.com/library /ios/documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html

所以会有 2 个图标:

icon.png 大小为 57X57
[电子邮件受保护],分辨率为 114X114

The icon size will be 114X114 and not 144X144. Apple provides the following documentation for this:
http://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html

So there will be 2 icons:

icon.png with 57X57
[email protected] with 114X114

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文