Projects/Liberty/File Formats/Husqvarna HUS

From KDE Community Wiki

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 (looking at a file with an odd number of bytes where this field is also an odd number suggests that this could be the start of thread position data)
28 unknown (looks like a length or offset)
... (null bytes)
42 (0x2a) start of colour/thread definitions (2 bytes each)