Aftnet/UniversalTileMaker

语言: PowerShell

git: https://github.com/Aftnet/UniversalTileMaker

README.md (中文)

Universal Tile Maker

此脚本将创建用于Universal Windows 10应用程序中的Tile资产的所有43个PNG图像。 它经过优化,可生成透明磁贴,默认使用系统的强调颜色,并且与Microsoft自己的应用程序一致。

要求

Inkscape,无论是已安装还是独立:从SVG到PNG的实际转换由它处理。

如果未位于默认安装位置(C:\ Program Files \ Inkscape \ inkscape.exe),请进行编辑

$inkScapePath = "C:\Program Files\Inkscape\inkscape.exe"

指向正确的地方。

用法

编辑“Icon Master.svg”,将五个白色占位符徽标替换为五个与其大小相同的徽标副本。 - 特别注意将每个徽标替换放在与原始占位符相同的层中。 - 确保每个徽标都在提供的橙色板上居中。 - 请勿更改橙色板的颜色,否则生成的PNG将不具有透明背景

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

Universal Tile Maker

This script creates all the 43 PNG images that are used for Tile assets in a Universal Windows 10 application.
It is optimized to generate transparent tiles which will use the system's accent color as default and that look consistent with Microsoft's own apps.

Requirements

Inkscape, either installed or standalone: the actual conversion from SVG to PNG is handled by it.

If not located in the default install location (C:\Program Files\Inkscape\inkscape.exe), edit

$inkScapePath = "C:\Program Files\Inkscape\inkscape.exe"

to point to the correct place.

Usage

Edit "Icon Master.svg", replacing the five white placeholder logos with five copies of your logo having the same sizes as them.
- Pay particular attention to put each logo replacement in the same layer as the origial placeholder.
- Ensure each logo is centered on the provided orange plate.
- Do not change the orange plates' color, otherwise the generated PNGs will not have a transparent background