# Image annotation

## Rationale

The image annotation component allows users to select an image and annotate it. Both the original image users select and the image with the annotation are saved as part of the data.

![](/files/-LEkByNMBMK43CtT-2MQ)

## Configuration

[\[SINCE Orbeon Forms 2023.1\]](/release-notes/orbeon-forms-2023.1.md) You can change the start stroke color with the following property:

```xml
<property 
    as="xs:string"  
    name="oxf.xforms.xbl.fr.wpaint.start-stroke-color.*.*"      
    value="#FF8C00"/>
```

## In Form Builder

To add this component to your form, in the toolbar, in the *Attachments* section, choose *Image annotation*.

## In XForms

When using this component in your own XForms (rather than through Form Builder), you must bind it to an element that is either empty, or contains two elements `<image>` and `<annotation>`. If the element is empty, the two elements `<image>` and `<annotation>` are automatically added by the component.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.orbeon.com/form-runner/component/image-annotation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
