To get the image of a unit, use the request:
http://{host}/avl_item_image/<item_id>/<max_border>/<any.png>?b=<long>&v=<bool>&sid=<text>
Name | Description |
---|---|
item_id | unit ID |
max_border | max image size (from 16 to 256 pixels, recommended: 32) |
any | any value (optional), specified if it is needed to download the image instead of using the cached value |
b | border size |
v | should svg icon be converted to png |
sid | session ID |
Returns an image in PNG format.