> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/bitmap-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/bitmap-plus/components/filter/extract-filter.md).

# Extract Filter

Apply an Extract filter to an Image

## Description

Apply an Extract filter to an Image

{% tabs %}
{% tab title="Preview" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FfbjSn4ReCyFd1mZVueCi%2FComponent-FilterExtract.png?alt=media\&token=7212d7c4-8f8e-4741-aecf-65d03300cf16)
{% endtab %}

{% tab title="Location" %}
**Name** | Extract Filter

**Nickname** | Extract

**Tab** | Bitmap

**Panel** | Filter

**Division** | 2
{% endtab %}

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

<mark style="color:blue;">**M**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Mode**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | Select filter mode</mark>
{% endtab %}

{% tab title="Ouputs" %} <mark style="color:blue;">**I**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Image**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">B+ Image</mark>*<mark style="color:blue;">) | A Bitmap Plus Image</mark>
{% endtab %}

{% tab title="Mode" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FeV1ulrSGqAXPXGlo6uDD%2Fimage.png?alt=media\&token=fb42f272-523b-4276-8531-df4f25a0a55c)

**Save Image** | Opens a file save dialog to save a raster file of the current image.

**Copy Image to Clipboard** | Copies the image to the clipboard (no alpha)
{% endtab %}
{% endtabs %}

### **Filter** Mode

<details>

<summary><strong>Filter</strong> Mode Enumerable</summary>

* Alpha = 0
* Red = 1
* Green = 2
* Blue = 3
* Cb = 4
* Cr = 5
* Y= 6

</details>

## Usage

### Extract Mode Samples

![Red](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FUKmB4uzN7EU8KMs7SW1M%2FRed.jpg?alt=media\&token=7a221a4f-ebc4-4d00-a5a0-9fb19c8ba57e) ![Green](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FNG7y6PXPiG6jCRgGL4jn%2FGreen.jpg?alt=media\&token=88e6c9bd-32fe-411b-a90b-6a146c04a117) ![Blue](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FjLYl2JQhA34klGZEJhps%2FBlue.jpg?alt=media\&token=22715f11-45d2-4eda-b914-1a8b5d6aaa12)

![Luma](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FZSRKy5mpv0z4dMVeX7a1%2FLuma.jpg?alt=media\&token=f44f1095-99a2-4ee4-9fa5-9f69987f6a03) ![Chroma Red](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F8AYnMrN4ly3feVR38xnn%2FChroma%20Red.jpg?alt=media\&token=7e66d960-5371-4030-b51f-666c706e05aa) ![Chroma Blue](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F9EBNGoizb4qWuEkOfm5i%2FChroma%20Blue.jpg?alt=media\&token=4a0c2bf7-e02a-4368-a40c-a2299a8e1507)
