BerndK / SvgToXaml

Smart Tool to view svg-files and convert them to xaml for use in .NET
Other
886 stars 164 forks source link

Can I use this lib to convert SVG to PNG in a UWP App? #2

Closed JohnTortugo closed 5 years ago

BerndK commented 8 years ago

Hi Divino,

yes this should be possible. use _convertedObj = ConverterLogic.ConvertSvgToObject(_filepath, ResultMode.DrawingImage, null, out _objectName, new ResKeyInfo()) as DependencyObject;

then see here to convert DrawinImage to png: http://stackoverflow.com/questions/14387350/convert-drawingimage-to-bitmapimage

If all this works on UWP, I'm not sure about that.

Am 02.03.2016 um 18:56 schrieb Divino César:

— Reply to this email directly or view it on GitHub https://github.com/BerndK/SvgToXaml/issues/2.