JPEG encode input image with provided compression quality.
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.
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). |
Returns | |
---|---|
A Tensor of type string .
|