When working with embroidery machine files like Tajima DST, developers often expect the design colors to be preserved. However, unlike Wilcom EMB files, machine files do not contain any color information – only stitch coordinates and STOP codes. This means the Embroidery Web API must assign colors in a different way when generating TrueView previews. Operators must assign needle/thread colors manually at the machine.
Using API calls with machine files
- When you upload a machine file such as DST and call api/editDesignTrueview, the API must still return a colored TrueView image.
- Since DST files lack colors, the system applies the Wilcom default Color Palette.
- This palette has 15 preset colors, cycled through if the design has more than 15 stops.
- A DST with 20 stops will be displayed using the 15 default colors, then repeat.

Default color palette
The Wilcom default Color Palette includes colors such as Dark Green, Blue, Red, Yellow, Aqua, Black, White, Purple, Brown, and Pink.
Example XML thread block from the API:
Key points
- Most commercial embroidery logos use 6 or fewer colors, so the 15-color default palette is usually enough.
- If you want accurate brand/thread colors, always work from an EMB file (not just a machine file).