dittodhole / dotnet-Svg.Contrib.Render

Other
26 stars 5 forks source link

ZPL to PNG #14

Closed smokinguns closed 6 years ago

smokinguns commented 6 years ago

I know this is way off, but is there not a library or way to convert zpl to png. I know of an online service, but am curious how they are able to do it.

dittodhole commented 6 years ago

I suggest to base your stack on .svg-files. This way you can render it to PNG (via SvgDocument.Draw, available with Svg) and to ZPL (via RendererBase<TContainer>.GetTranslation, available with this suite).

smokinguns commented 6 years ago

thanks for the response. I couldn't agree more. I'm stuck in a world that i receive zpl and need to convert to other formats.

dittodhole commented 6 years ago

In fact, one could simply reverse/invert the conversion-logic, to create SVG out of ZPL ... but this is another story :)