Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarize committed Oct 13, 2018
1 parent 5011455 commit f30dc57
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ Pyembroidery will write:
* .pec
* .csv
* .svg
* .png
* .txt

Pyembroidery will read:
* .pes (mandated)
Expand Down Expand Up @@ -166,6 +168,12 @@ Prints out a workable CSV file with the given data. Starting in 1.3 the csv patt

`write_csv(pattern, "file.csv", {"encode": True})`

Writing to PNG:
Writes to a image/png file.

Writing to TXT:
Writes to a text file. Generally lossy, it does not write threads or metadata, but certainly more easily parsed for a number of homebrew applications. The "mimic" option should mimic the embroidermodder functionality for exporting to txt files. By default it exports a bit less lossy giving the proper command indexes and their explicit names.

Reading:
---

Expand Down Expand Up @@ -227,6 +235,8 @@ pyembroidery.write_jef(pattern, file)
pyembroidery.write_u01(pattern, file)
pyembroidery.write_svg(pattern, file)
pyembroidery.write_csv(pattern, file)
pyembroidery.write_png(pattern, file)
pyembroidery.write_txt(pattern, file)
```

In addition, you can add a `dict` object to the writer, reader, and converter with various settings.
Expand Down

0 comments on commit f30dc57

Please sign in to comment.