EmbroidePy / pyembroidery

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

check for number of color changes overflow #117

Closed SReich-EMI closed 3 years ago

SReich-EMI commented 3 years ago

added assert error if the number of color changes is aboth 255 as this is not possible.

tatarize commented 3 years ago

Even if I fixed this elsewhere it's still the case that 255 colors can't write to that location. I think it makes some kind of gibberish.

Also, too is misspelled but I'll fix that with the jef correction.