Articles in this section
Category / Section

How to load SVG images in the .NET MAUI Image Editor (SfImageEditor)?

1 min read

Syncfusion .NET MAUI Image Editor (SfImageEditor) allows you to load SVG images. This article demonstrates how to load SVG images in the image editor.

XAML:

Initiate the Image Editor control and provide the source image.

<imageEditor:SfImageEditor x:Name="imageEditor" Source="dove.png"/>

While adding an SVG image (dove.svg) to your project, refer the image to the Source with a .png extension (dove.png).

SVG files are converted to PNG files by .NET MAUI. As a result, an SVG file added to your .NET MAUI app project should be referenced from XAML or C# and have a.png extension.

Output:

LoadSVGImage.png

Conclusion
I hope you enjoyed learning how to load SVG images in the .NET MAUI Image Editor (SfImageEditor).

Refer to our .NET MAUI ImageEditor’s feature tour page for other groundbreaking feature representations. You can also explore our .NET MAUI ImageEditor documentation to understand how to present and manipulate data.

For current customers, check out our .NET MAUI components from the License and Downloads page. If you are new to Syncfusion, try our 30-day free trial to check out our .NET MAUI Image Editor and other .NET MAUI components.

Please let us know in the following comment section if you have any queries or require clarifications. Contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied