Autodigitize

Format

/1/Render/Autodigitize/*path

*path is the file that was uploaded to the server using Upload

Description

Renders an uploaded image file and returns the bitmap.

Parameters

If ImageWidth and ImageHeight are both specified, the resulting image will be the specified width and height.

If only one of ImageWidth and ImageHeight are specified, and IsSquare is false, then the resulting image will be generated using that value as a constraint and the other value will be calculated such that the image is at the same aspect ratio as the design component. Otherwise, if IsSquare is true, then the resulting image will be square using the specified value as a constraint.

If ImageWidth and ImageHeight are both omitted, then the image will be generated at a size determined by the DPI parameter to be the "actual" size of the embroidery.

An image using a transparent background can be obtained by using Format=png and Background=00000000. JPG images do not support transparency.

Example

/1/Render/Autodigitize/PulseLogoVerticalHQ.PNG

Output

Sample