Combine Text with a design
This example shows a combination of the text with an embroidery design.
The stitch data is encoded in Base64 and saved in "EmbroideryBase64".
{
"EmbroiderySize": {
"Widthmm": 164.6,
"Heightmm": 165.5
},
"Monograms": [
{
"Text": "ZSK Monogram",
"FontFamily": "Arial",
"FontSizeMM": 10.0,
"TextStyle": 0,
"UsedNeedle": 1,
"XposMM": 0.0,
"YposMM": 0.0,
"RadiusMM": 50.0,
"TextStitchParameter": "Premium"
}
],
"RequestType": "CreatePNG",
"EmbroideryType": "TC",
"EmbroideryBase64": "base64 encoded embroidery data",
"DesignOffset": {
"OffsetXmm": 0.0,
"OffsetYmm": 30.0
}
}
“EmbroideryType”:
Specifies the stitch file format:
“TC”: ZSK Transportcode format (Z00)
“DST”: Tajima DST format
“EmbroideryBase64”:
The embroidery data is Base64 encoded.
“EmbroiderySize”:
"Widthmm": Width of the embroidery
"Heightmm": Height of the embroidery
Only valid if TC or DST data is included in the Json file.
Used to increase the size of the embroidery area. So, the minimum size is the size of the included embroidery data.
Example:
The included TC data has a size of 100 mm * 150 mm.
"EmbroiderySize": {
"Widthmm": 100.0,
"Heightmm": 200.0
},
This will increase the size to 100 mm * 200 mm.
“DesignOffset”:
Specifies the position of the embroidery data.
"OffsetXmm": sets the horizontal offset in mm.
"OffsetYmm": sets the vertical offset in mm.
This example Json data will create a 30 mm bottom margin.

