tf.io.decode_image

Function for decode_bmp, decode_gif, decode_jpeg, and decode_png.

Used in the notebooks

Used in the tutorials

Detects whether an image is a BMP, GIF, JPEG, or PNG, and performs the appropriate operation to convert the input bytes string into a Tensor of type