Missed TensorFlow World? Check out the recap. Learn more

tfio.image.encode_bmp

View source on GitHub

Encode a uint8 tensor to bmp image.

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

Args:

  • image: A Tensor. 3-D uint8 with shape [height, width, channels].
  • name: A name for the operation (optional).

Returns:

A Tensor of type string.