# Trace Bitmap

## Description

Trace a Bitmap

{% tabs %}
{% tab title="Preview" %}
![](/files/tvlmuvd05IfucK1NebIH)
{% endtab %}

{% tab title="Location" %}
**Name** | Trace Bitmap

**Nickname** | Trace

**Tab** | Bitmap

**Panel** | Vectorize

**Division** | 1
{% endtab %}

{% tab title="Inputs" %}
**I** | **Image** (*B+ Image, Bitmap*) | A Bitmap Plus Image or Bitmap

**M** | **Mode** (*Integer*) | Set the turn mode&#x20;

<mark style="background-color:yellow;">(0:Black, 1:White, 2:Majority, 3:Minority, 4:Right, 5:Left)</mark>

**S** | **Size** (*Integer*) | The pixel sample size

**E** | **Error** (*Number*) | The error tolerance \[0-1]

**T** | **Threshold** (*Number*) | Unitized brightness threshold \[0-1]

**A** | **Alpha** (*Number*) | Corner detection threshold \[0-1]
{% endtab %}

{% tab title="Ouputs" %}
**C** | **Curves** (*Curve*) | The traced curves at the specified threshold
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage

Passing a range of values returns multiple curve samples.

![](/files/CwrgMGwZwO9UupvAiVaj)

![](/files/qdG7hvkNJ1Nxf8DXdtqu)

![](/files/cTt7qDUvnEG3tsdPOHH7)


---

# 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://interopxyz.gitbook.io/bitmap-plus/components/vectorize/trace-bitmap.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.
