Releases: EmbroidePy/pyembroidery
Pec Extra Jump Write
Corrects Issue #112. Caused instability between read and write routines.
PMV Tweaks.
Couple minor tweaks to PMV code to try fix a few remaining issues.
Inverted and selected the more correct values in the tables.
add_pattern() given transformations
The add_pattern() routine if called directly rather than through the dunder add of pattern + pattern, now gives options for dx, dy, sx, sy, and rotate for translate, scale, and rotate. For pattern appending with transformations.
PNG Guides and EmbPattern init
- PngWriter has guides added.
- A couple corrections to PngWriter.
- PyEmbroidery is turned into a shell references to EmbPattern static calls.
- EmbPattern has init parameters of filename, or EmbPattern.
- EmbPattern has .read() and .write() which accepts settings as direct keyword arguments.
PES Headers V7-10
Read PES Headers Versions 7 through 10. Successfully decodes thread data stored in headers from V7-V10 of PES.
Issue #87 Redux
Fix additional issues that were not corrected by 1.4.15 with regard to issue #87. ColorBlocks would, if delimited by COLOR_BREAK omit the final stitch.
Colorblock Correction.
Minor DST Header Write Defect
"MY:" would be written in error as "AY:"
Minor DST Header Defect
Defective DST headers not in ascii would cause a critical error preventing the body from being read. Properly this should merely prevent the header from being read.
Color Formats and JSON.
There are three strict color only file formats in COL
, INF
, EDR
which provide no stitch data but do provide color information. These now have writers and readers and are processed as type color
. This is useful if loading a DST with an EDR file. In addition, I added JSON objects. These allow the writing and reading of the patterns in a mostly lossless JSON file (some bytearray info won't serialize). This should also be useful for a variety of purposes where data interchange matters.
- This included a small tweak to allow writing in text mode (json required it).
- A bug fix to EmbCompress for 3.6 division.
- A few tweaks based on machine tests of VP3 file format.