ForNeVeR / xaml-math

A collection of .NET libraries for rendering mathematical formulae using the LaTeX typesetting style, for the WPF and Avalonia XAML-based frameworks
MIT License
628 stars 98 forks source link

Vectorize the output image (feature request) #419

Open seghier opened 1 year ago

seghier commented 1 year ago

Hello I test this free software: https://github.com/arkypita/LaserGRBL And it give nice results using Vectorize and Centerline

image

image

The software used free codes like: Protrace, SvgLibrary ...

https://github.com/arkypita/LaserGRBL/tree/master/LaserGRBL/CsPotrace

Can you add these features: Vectorize and Centerline and export the result To SVG

ForNeVeR commented 1 year ago

Could you please clarify what these operations are?

I'd like to clarify how we actually get the SVG data: basically, we draw the image on a WPF Geometry canvas, and then just process the nodes. Here's the whole converter.

Would it even be possible to add these features to the converter?

While not familiar with the operations themselves, I'd be happy to add them or add some extension points to the converter for the user to provide their own customizations.

seghier commented 1 year ago

Thanks , i will share a small app using windows form which convert the result png to svg vector using Potrace.

But if that possible with the converter i will use it

The svg vector is useful to use it in 2d/3d softwares