API information

More
1 week 1 day 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!

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #2840 by brenden
Replied by brenden on topic API information
Hi Diwate,

Yes, our standard API does this.

You can read more at developer.wilcom.com/

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.

More
1 week 1 day 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.

More
1 week 1 day ago #2842 by brenden
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.
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.

More
1 week 1 day ago - 1 week 1 day ago #2843 by Diwate
Replied by Diwate on topic API information
Thanks for the prompt reply will try it out.
Last edit: 1 week 1 day ago by Diwate.

Please Log in or Create an account to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum