EmbroidePy / pyembroidery-CLI

pyembroidery command line interface tools
MIT License
2 stars 1 forks source link

How to convert .dst to .png with exact dimensions ? #4

Open florian-maier opened 4 years ago

florian-maier commented 4 years ago

I need to convert from .dst to .png with the correct dimensions of the .png matching the dimensions of the .dst embroidery file.

How would this be possible ?

thanks for reply !!

tatarize commented 4 years ago

The standard conversion factor is 1/10th mm = 1 pixel. Since that's the native size of most embroidery. If you wanted to do this for something else you'd consider "matching" then you would want to scale the embroidery and there's a few ways to do that. But, you might also be able to set the pixel size of the png to 1/10th mm with the DPI set to 254 (1/10th mms per inch).