JEFPreview.txt 2009-09-28 Robert Forsyth Janome Embroidery Format Preview Janome Embroidery Format The JEF file is in three main parts: 1. Header, 2a. Colour/Thread list, 2b. Type/Thread list. 3. Stitch list. Header This is mainly 32bit numbers, with some ASCII digits for date and time. i offset Description 1. 0000 First Stitch Offset 2. 0004 Flags: seen values of 0x01 and 0x0a 3. 0008 Date YYYY 4. 000C Date MMDD 5. 0010 Time HHMM 6. 0014 Time SS 7. 0018 Thread Count 8. 001C Stitch Count 9. 0020 HoopCode 10. 0024 Left 1: in 0.1mm units (stitch extent) 11. 0028 Top 1 12. 002C Right 1 13. 0030 Bottom 1 14. 0034 Left 2 (maybe working area) 15. 0038 Top 2 16. 003C Right 2 17. 0040 Bottom 2 18. 0044 Left 3: in some unknown units 19. 0048 Top 3 20. 004C Right 3 21. 0050 Bottom 3 22. 0054 Left 4 23. 0058 Top 4 24. 005C Right 4 25. 0060 Bottom 4 26. 0064 Left 5 27. 0068 Top 5 28. 006C Right 5 29. 0070 Bottom 5 30. 0074 HoopCode 0 (hoop size A: 126 x 110 mm) 1 (hoop size C: 50 x 50 mm) 2 (hoop size B: 140 x 200 mm) Rectangle Left, Bottom, Right, Top -1 implies not used Thread Colour List For each thread a 32 bit colour code. Thread Type List For each thread a 32 bit type code (all 0x0000000D so far). Stitch List For each stitch two signed 8bit offsets dx and dy or 0x80 and command code. Command codes: 1: Change thread - use next in thread list 2: Move without stitch 16: Last stitch