Tif format Images

Is there any TensorFlow command to read tif images directly?

Hi @Abdur_Rehman_Khan, you can read the tiff images using the tfio using the below code

import tensorflow as tf
import tensorflow_io as tfio

img_tensor = tfio.experimental.image.decode_tiff(tf.io.read_file('/content/file_example_TIFF_1MB.tiff'))
print(img_tensor.shape)

you can also plot the image using the plt

Thank You.