Protecting your Website from Image-uploads unsuitable for embroidery
Autodigitizing is a frequently sought function in the Wilcom EWA service. Autodigitizing means to convert an Artwork to an embroidery file, i.e. “Automatic Digitizing”, instead of digitizing by a person. Autodigitzing is a complex and difficult process where an AI (Artificial Intelligence) module processes the image and converts it into an artwork that is suitable for embroidery, reduces colors, generates objects, chooses stitch types, stitch directions and other parameters similar to what a human being would do in the digitizing process.
Not every image is suitable for embroidery. Images can be too large, can contain unrecognisable shapes/objects, boundaries cannot be established, or objects have color grading that cannot be done in embroidery, etc. Yet, when such image is uploaded to the API server, the embroidery engine tries to process it. Such process may take a long time before it fails. It wastes resources, takes valuable time away from other API calls, and costs money to the API customer without any return. Further, it may frustrate the website visitor, the potential customer, who does not understand what the limitations are and goes away instead of placing an order.
It is important to prevent website visitors to upload such images. Below are some ideas about protecting your website from such problems.