dotnet / dotnet/maui

Add support for SVG format in images

Open
#10,050 12 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-controls-image partner/cat 😻 proposal/open t/enhancement ☀️
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

Description

I would like to have the image control have the ability to load an SVG from a web URL. In Xamarin Forms I was able to do this with FFImageLoader, but this library doesn't support . net MAUI. I haven't seen an alternative for this.

Public API Changes
<Image Source="http://www.my.com/img.svg" /> 
Intended Use-Case

I want to be able load a list of records from my database dynamically which each links to an svg file hosted on my azure blob.
I don't want to use pngs due to not being able to change it's color and worry about sizing.
I don't want to embed in the app because then I cannot dynamically change the color of the image based on whether light theme or dark theme.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the .NET MAUI Image control handles a remote Source URL and how image rendering is implemented across its supported platforms. Compare the requested SVG behavior with the FFImageLoader use case described in the issue. Done means an Image can load and render an SVG from a web URL, including the stated sizing and theme-color use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
desktop-dev, frontend, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.