# tfio.image.encode_bmp

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/io/blob/v0.24.0/tensorflow_io/python/ops/image_ops.py#L34-L45) |

Encode a uint8 tensor to bmp image.

    tfio.image.encode_bmp(
        image, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `image` | A Tensor. 3-D uint8 with shape \[height, width, channels\]. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `string`. ||

<br />