【问题标题】:Icon sizes for UWP apps (Universal Windows Platform, AppX)UWP 应用程序的图标大小(通用 Windows 平台、AppX)
【发布时间】:2020-08-27 08:48:35
【问题描述】:

我想了解 UWP 应用 (AppX) 所需的 iconlogo 尺寸。

根据文档,有几张图片https://docs.microsoft.com/en-us/windows/uwp/design/style/app-icons-and-logos

  • SmallTile.png - 我不知道它应该是什么尺寸。
  • Square150x150Logo.png - 150 x 150 像素?或者可能是 300 x 300 像素?
  • Wide310x150Logo.png - ?
  • LargeTile.png - 不知道。
  • Square44x44Logo.png - 44 x 44 像素?
  • SplashScreen.png - 有什么想法吗?
  • BadgeLogo.png - 你知道吗?
  • StoreLogo.png - 商店呢?

【问题讨论】:

    标签: uwp electron windows-10-universal electron-builder appx


    【解决方案1】:

    在UWP中,会生成各种不同大小的图标,以适应不同的使用环境。

    在 Visual Studio 的Package.appxmanifest 中,有你提到的图片类型大小的定义。 (详情可见Package.appxmanifest/Visual Assets

    这是一个例子:

    SmallTile(5 种尺寸,单位为像素)

    • 284x284(推荐)
    • 142x142(推荐)
    • 71x71(推荐)
    • 107x107
    • 89x89

    LargeTile

    • 1240x1240(推荐)
    • 620x620(推荐)
    • 310x310(推荐)
    • 465x465
    • 388x388

    图片名称中带有{number}x{number}的图片表示像素,{scale-number}表示缩放比例。

    谢谢。

    【讨论】:

      【解决方案2】:

      UWP 的最大图片尺寸:

      • StoreLogo.png — 200x200(原始:50x50)

      • Square150x150Logo.png — 600x600(原始:150x150)

      • Square44x44Logo.png — 256x256(原始:44x44 more info

      • Wide310x150Logo.png — 1240x600(原始:310x150)

      • SmallTile.png (Square71x71Logo) — 284x284(原始:71x71)

      • LargeTile.png (Square310x310Logo) — 1240x1240(原始:310x310)

      • SplashScreen — 2480x1200(原始:620x300 more info


      文档:

      【讨论】:

        猜你喜欢
        • 2016-06-03
        • 2016-04-25
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2018-02-04
        • 2020-08-15
        • 1970-01-01
        • 2017-03-10
        相关资源
        最近更新 更多