How to Change Color of SVG Icon?

Is there the way to change color of svg icon without changes the svg source?

Thanks

@alexander.kapitanovski,
Thank you for contacting support.

We need more information to help you. Please describe the issue in more detail and share the following:

  • input and output files (you can zip the files and upload them here)
  • code example that reproduces the problem
  • Aspose.Slides version you used

Hi,

we are using Aspose.Slide.Net 22.05.
I added the image from SVG to my presentation:

var image = slide.Presentation.Images.AddImage(new SvgImage(imageStream));
var pf = slide.Shapes.AddPictureFrame(ShapeType.Rectangle, 10,10, 21, 21, image);

I need this picture more times, but with a different color, something like that
Image.png (1003 Bytes)

I can change the background color from the shape, but how I can change the color of the image?

Regards,
Alexander

@alexander.kapitanovski,
Thank you for the additional information. Aspose.Slides does not provide features to modify images. This library allows you to manage presentation contents and export slides to images, PDF, and other formats. You should try using Aspose.Imaging for your goals.