# tf.raw_ops.EncodeJpegVariableQuality

<br />

JPEG encode input image with provided compression quality.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.EncodeJpegVariableQuality`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/EncodeJpegVariableQuality)

<br />

    tf.raw_ops.EncodeJpegVariableQuality(
        images, quality, name=None
    )

`image` is a 3-D uint8 Tensor of shape `[height, width, channels]`.
`quality` is an int32 jpeg compression quality value between 0 and 100.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `images` | A `Tensor` of type `uint8`. Images to adjust. At least 3-D. |
| `quality` | A `Tensor` of type `int32`. An int quality to encode to. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />