dotnet / dotnet/maui

WebP support for resizetizer

Open
#29,296 0 comments 0 reactions 0 assignees View on GitHub
area-single-project proposal/open
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

Currently, when MAUI generates images from SVG it creates PNGs. Recently, when releasing our app, I noticed a recommendation to use WebP format instead to lower the app size.

![Image](https://github.com/user-attachments/assets/ad4f1084-e5ce-4298-86d5-32d660d37238)

Not something I think is super important as the gain is marginal, but would be good to keep in mind.

### Public API Changes

Maybe a new csproj variable to enable the extra conversion from png to WebP, to avoid breaking changes.

### Intended Use-Case

Lower app size, potentially improve performance

Contributor guide

Open the contributing guide

Research direction

Start by locating MAUI's resizetizer and its SVG-to-PNG image-generation flow, then inspect how project-file properties configure that process. Define the supported WebP conversion behavior and an opt-in configuration before implementing it; done means generated assets can use WebP and the app-size use case is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.