how to display SVG image with tint color changed during runtime in xamarin forms ?

Mohamed Ben Ayed 96 Reputation points
2021-06-03T10:18:59.36+00:00

I want to display SVG image with tint color changed during runtime in Xamarin forms
I used many plaguin and none of them displayed me the image

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
    2021-06-04T08:25:09.437+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    Do you want to display SVG image? If so, you can use FFImageLoading to load SVG file.

    https://github.com/luberda-molinet/FFImageLoading

    Before use this plugin, please read this wiki firstly.

    https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API

    If you want to support SVG file, you should add following nuget package.

    Xamarin.FFImageLoading.Svg (for SVG support)
    
    Xamarin.FFImageLoading.Svg.Forms (for SVG support)
    

    Best Regards,

    Leon Lu


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our [documentation][1] to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more