---
description: Trace a Bitmap
---

# Trace Bitmap

## Description

Trace a Bitmap

{% tabs %}
{% tab title="Preview" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FmwfDppAOxJzKtNFN0njk%2FComponent-VectorTrace.png?alt=media\&token=6cd4d518-a517-4b31-9221-9af41362004c)
{% 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.

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FYY1RqizAHIsEXwrGlKaW%2Fimage.png?alt=media\&token=918e673f-e836-4d8c-91bd-c0c617b19ea6)

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FpDr8k58oYD6EU0yLtDax%2FBmpTrace.gif?alt=media\&token=1b83f662-4b3a-46cd-b0f4-2d4b95342bda)

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FIWfsRA4K8uIssdsNTRaX%2FBmpTraceMulti.gif?alt=media\&token=e1bb75e4-72d9-4562-8bc7-94f2c43dccbd)
