<vector
file=”logo.pdf”
dpi=96
remove_background="true"
/>
Usage:
The vector xml string is used in:
- input of api/vectorArtPreview
- input of api/vectorArtTrueview
- input of api/vectorArtDesign
The vector file is specified by file. The file content is located in files identified by filename.
The client can assign dpi to have EWA to generate different quality of preview from vector file. The dpi value must be between 0 and 480. The default value is 96 if the dpi is missing or its value is 0. The parameter is only useful for api/vectorArtPreview.
Sometimes vector file only contains bitmap file or has a vector object as background, so EWA does further processing after converting to PNG as bitmapArtPreview by default. This behaviour can be controlled by remove_background option. Default value is true.