API 浏览器
应用图标

如果你要面向 Quasar 当前支持的所有平台,则需要创建 100 多个包含 4 种不同媒体类型(png、ico、icns 和 svg)的不同文件。如果你仅使用 Gimp、Photoshop 或 Affinity Designer 之类的工具,你会发现这些文件相当大,并且创建和命名它们的过程很容易出现运算符错误。你可能至少需要压缩 PNG 文件,并从 SVG 中删除不必要的应用元数据。

¥If you were to target all platforms that Quasar currently supports, you will need to make 100+ different files of 4 different media types (png, ico, icns and svg). If you just use a tool like Gimp, Photoshop or Affinity Designer, you will find that these files are rather large and the process of making them and naming them is prone to operator error. You will probably want to compress the PNG files at least, and also remove unnecessary app-metadata from the SVG.

Icon Genie CLI(Icon Genie CLI)

提示

我们强烈建议你使用 Icon Genie CLI,因为它会读取源图标并自动克隆、缩放、最小化图标,并将其放置在合适的目录中。如有需要,它还会告诉你需要在 /index.html 文件中添加哪些标签。

¥We highly recommend using the Icon Genie CLI, because it consumes a source icon and automatically clones, scales, minifies and places the icons in the appropriate directories for you. When needed, it also tells you what tags you’ll need to add to your /index.html file.