# tf.contrib.summary.image

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/summary_ops_v2.py#L804-L820) |

Writes an image summary if possible.

    tf.contrib.summary.image(
        name, tensor, bad_color=None, max_images=3, family=None, step=None
    )