kopia lustrzana https://github.com/EmbroidePy/pyembroidery
Correct Pec Reader, offset is 4 bytes earlier, and that is a jump command that should be loaded.
rodzic
24a11c648d
commit
2bcbfffe1b
|
@ -31,8 +31,8 @@ def read_pec(f, out, pes_chart=None):
|
||||||
stitch_block_end = read_int_24le(f) - 5 + f.tell()
|
stitch_block_end = read_int_24le(f) - 5 + f.tell()
|
||||||
# The end of this value is already 5 into the stitchblock.
|
# The end of this value is already 5 into the stitchblock.
|
||||||
|
|
||||||
# 3 bytes, '\x31\xff\xf0', 6 2-byte shorts. 15 total.
|
# 3 bytes, '\x31\xff\xf0', 4 2-byte shorts. 11 total.
|
||||||
f.seek(0x0F, 1)
|
f.seek(0x0B, 1)
|
||||||
read_pec_stitches(f, out)
|
read_pec_stitches(f, out)
|
||||||
f.seek(stitch_block_end, 0)
|
f.seek(stitch_block_end, 0)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue