Jump to content

Projects/Liberty/File Formats/Husqvarna HUS: Difference between revisions

From KDE Community Wiki
No edit summary
Dboddie (talk | contribs)
Line 11: Line 11:
|-
|-
| 4
| 4
| (total number of stitches?)
| (looks like an offset into the file, but can be larger than the file extent)
|-
|-
| 8
| 8
Line 21: Line 21:
| 16, 18
| 16, 18
| minimum coordinates (16-bit, little endian, signed)
| minimum coordinates (16-bit, little endian, signed)
|-
| 20
| offset to data past colour/thread definitions
|-
| 24
| unknown (looks like a length or offset)
|-
| 28
| unknown (looks like a length or offset)
|-
| ...
| (null bytes)
|-
| 42 (0x2a)
| start of colour/thread definitions (2 bytes each)
|}
|}



Revision as of 22:47, 11 August 2012

Husqvarna HUS

This file format appears to describe a stitch out similar to that used in JEF files.

Offset Description
0 0x00c8fc5d (magic number?)
4 (looks like an offset into the file, but can be larger than the file extent)
8 number of threads/colours
12, 14 maximum coordinates (16-bit, little endian, signed)
16, 18 minimum coordinates (16-bit, little endian, signed)
20 offset to data past colour/thread definitions
24 unknown (looks like a length or offset)
28 unknown (looks like a length or offset)
... (null bytes)
42 (0x2a) start of colour/thread definitions (2 bytes each)