EmbroidePy / pyembroidery

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

Add in Color Formats. #71

Closed tatarize closed 5 years ago

tatarize commented 5 years ago

Many formats lack colors and some have assistance files that only contain colors. While the forced checking and reading of these file formats might be beyond the scope of pyembroidery. I don't actually care where the filestream comes from a disk or the internet and it's not really the projects job to know this. It is the case that these helper formats exist and should be readable and often writeable.

I believe these to be EDR, INF, COL for the major ones. Since reading the format will leave the colors in these blank and it'll just invent colors when it needs them later (and only in a lossless manner), it should just allow reading a format that only adds colors and does nothing else. This should just work.

tatarize commented 5 years ago

Color formats are complete. These work for their preferred and correct purposes.