To generate a preview image of a layer, you can use:
- GET api/projects/{projectId}/layers/{layerId}/preview?colourFormat=colourFormat
Where the colourFormat is one of the values listed below:
| Name | Number | Description |
|---|---|---|
| n/a | 0 | The default colour format will be used. |
| n/a | 1 | 1 bit. |
| n/a | 2 | 4 bit. |
| n/a | 4 | 8 bit. |
| n/a | 8 | 24 bit. |