Skip to content

Add SVG support for asset generation#326

Open
azchohfi wants to merge 3 commits intomainfrom
alzollin/svg
Open

Add SVG support for asset generation#326
azchohfi wants to merge 3 commits intomainfrom
alzollin/svg

Conversation

@azchohfi
Copy link
Collaborator

@azchohfi azchohfi commented Feb 26, 2026

Description

Adds the Svg library as a dependency, and detects svg files on manifest update-assets command, converting to a Bitmap to generate the new assets.

Usage Example

winapp manifest update-assets .\image.svg

Related Issue

Fixes #321

Type of Change

  • ✨ New feature

Checklist

AI Description

This update introduces support for SVG file formats in the update-assets command of the CLI, allowing SVG assets to be detected and converted into bitmap images for app use. Users can now generate assets from SVG as shown in the following example:

winapp manifest update-assets .\image.svg

@azchohfi azchohfi enabled auto-merge (squash) February 26, 2026 19:01
@github-actions github-actions bot added the enhancement New feature or request label Feb 26, 2026
@github-actions
Copy link

github-actions bot commented Feb 26, 2026

Build Metrics Report

Binary Sizes

Artifact Baseline Current Delta
CLI (ARM64) 13.66 MB 18.04 MB 📈 +4.38 MB (+32.08%)
CLI (x64) 12.96 MB 17.28 MB 📈 +4.32 MB (+33.29%)
MSIX (ARM64) 5.94 MB 7.59 MB 📈 +1.65 MB (+27.71%)
MSIX (x64) 6.17 MB 7.90 MB 📈 +1.72 MB (+27.93%)
NPM Package 12.10 MB 15.54 MB 📈 +3.44 MB (+28.46%)

Test Results

257 passed, 6 skipped out of 263 tests in 54.0s (+2 tests, +1.0s vs. baseline)

CLI Startup Time

36ms median (x64, winapp --version) · ✅ no change vs. baseline


Updated 2026-02-26 23:58:33 UTC · commit 64fa00a · workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Asset generator improvements (SVG, .ico output)

2 participants