Trip Interface Description 1.2.2 Help

Draw On Image

A question of type draw_on_image allows the user to draw on an image. This could, for example, allow the user to draw a circle at the damage location if the picture is a blueprint of the truck.

{ "id": 0, "type": "draw_on_image", "key": "draw_on_image", "required": true, "label": "Draw on image", "answers": [ { "id": 0, "label": null, "nextQuestionId": 1, "options": { "overrideBackground": "*BASE64_ENCODED_IMAGE*" } } ] }

Answer Options

This chapter describes the option possibilities for an answer.

Name

Type

Description

Required

Default

overrideDefaultBackground

Base64 Image

The background to use as the background to draw on. This has to be in Base64 format.

false

Blank

Examples

Draw On Image example

A example image for question question_draw_on_image
{ "id": 0, "type": "draw_on_image", "key": "draw_on_image", "required": true, "label": "Draw on image", "answers": [ { "id": 0, "label": null, "nextQuestionId": 1, "options": { "overrideBackground": "*BASE64_ENCODED_IMAGE*" } } ] }
Last modified: 05 June 2025