API information
1 year 1 month ago #2839
by Diwate
API information was created by Diwate
Hi,
Is there any Wilcom API which when given EMB file as input will give PNG and DST file as output?
Thanks in advance!
Is there any Wilcom API which when given EMB file as input will give PNG and DST file as output?
Thanks in advance!
Please Log in or Create an account to join the conversation.
1 year 1 month ago #2840
by brenden
Chief Product Officer - Wilcom
Sydney, Australia
Have you installed your latest Wilcom update? Click here.
Replied by brenden on topic API information
Chief Product Officer - Wilcom
Sydney, Australia
Have you installed your latest Wilcom update? Click here.
Please Log in or Create an account to join the conversation.
1 year 1 month ago #2841
by Diwate
Replied by Diwate on topic API information
I have seen the documentation but sample codes but there is nothing explicitly mentioned or given as use this api or recipe to convert into so and so.
Please Log in or Create an account to join the conversation.
1 year 1 month ago #2842
by brenden
Chief Product Officer - Wilcom
Sydney, Australia
Have you installed your latest Wilcom update? Click here.
Replied by brenden on topic API information
Hi Diwate,
You'll see this covered on page 7 of the API Interface Specification 1.4 document.
In particular:
7.3: Use the libraryHere is an example how to construct an xml string for lettering, then calling WILCOM_GenerateTrueview and paring the result xml string to object. Saving the generated trueview to Result.png at last.
You can also download the sample code from our site. For example the "Design Image Concept Source" concept provides you sample code (C# .NET) to illustrate using the API for calling designTrueview and bitmapArtPreivew/vectorArtPreview API and displaying the result image on a garment.
There is also a detailed documentation explaining this next to the source you can download.
To clarify, you do need to be a registered member and logged into the developer portal to access this information.
Cheers,
Brenden
You'll see this covered on page 7 of the API Interface Specification 1.4 document.
In particular:
7.3: Use the libraryHere is an example how to construct an xml string for lettering, then calling WILCOM_GenerateTrueview and paring the result xml string to object. Saving the generated trueview to Result.png at last.
XmlEWARecipe recipe = newXmlEWARecipe()
{
recipe = newXmlKioskDocument()
{
decorations = newList<decoration>()
{
newlettering(){simple_lettering = newsimple_lettering()
{
alphabet_name = "Block2",
text = "My Lettering",
height = 20f
},
thread = newthread()
{
color = Color.Red.R | Color.Red.G << 8 | Color.Red.B << 16
}
}
},
output = newoutput()
{
trueview_file = "ResultImage.png",
}
}
}
;stringxmlRecipeString = StringXmlSerializer.FastSerialize<XmlEWARecipe>(recipe, StaticXmlSerializers.GetSerializer<XmlEWARecipe>(null));
varclient = newRestClient("http://ewa.wilcom.com/1.3");
You can also download the sample code from our site. For example the "Design Image Concept Source" concept provides you sample code (C# .NET) to illustrate using the API for calling designTrueview and bitmapArtPreivew/vectorArtPreview API and displaying the result image on a garment.
There is also a detailed documentation explaining this next to the source you can download.
To clarify, you do need to be a registered member and logged into the developer portal to access this information.
Cheers,
Brenden
Chief Product Officer - Wilcom
Sydney, Australia
Have you installed your latest Wilcom update? Click here.
Please Log in or Create an account to join the conversation.
1 year 1 month ago - 1 year 1 month ago #2843
by Diwate
Replied by Diwate on topic API information
Thanks for the prompt reply will try it out.
Last edit: 1 year 1 month ago by Diwate.
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds
- You are here:
-
Home
-
Community General Questions & How-to
-
Embroidery Web API
- API information