EmbroidePy / pyembroidery

pyembroidery library for reading and writing a variety of embroidery formats.
MIT License
181 stars 33 forks source link

PngWriter: When fancy = True, some threads don't show up #162

Open gemini133 opened 11 months ago

gemini133 commented 11 months ago

Thanks for your great work on pyembroidery. It'd be helpful for my latest project to generate previews for embroidery files.

here is the pattern file I use https://embroideres.com/free-embroidery-designs/individual/phrases-and-words-free-embroidery-designs/hope-christmas-inscription/

Archive.zip

I tried with dst and pes, they both generate the unexpected results.

image

the red part is the most obvious one.

here is the correct one from the website above where I downloaded the emb files.

image

Thanks in advance!

tatarize commented 10 months ago

I'll have to maybe check the PR, you posted but I think it's just that that section is entirely dark colored and doesn't get a proper gradient without it. Seems like it's certainly worth looking at.