---
title: BitmaskLabels
type: tags
order: 402
meta_title: Bitmask Label Tag for Pixel-Wise Image Segmentation Labeling
The Bitmask tag is for pixel-wise image segmentation tasks, and is used in the area where you want to apply a mask or use a brush to draw a region on the image.
Bitmask operates on the pixel level and outputs a base64-encoded PNG data URL image with black pixels on transparent background.
Export data example: data-url:image/png;[base64-encoded-string]
!!! note
You need to set `smoothing="false"` on the `<Image>` tag to be able to work with individual pixels.
Use with the following data types: image.
{% insertmd includes/tags/bitmasklabels.md %}
Basic image segmentation labeling configuration
<View>
<BitmaskLabels name="labels" toName="image">
<Label value="Person" />
<Label value="Animal" />
</BitmaskLabels>
<Image name="image" value="$image" smoothing="false" />
</View>