Save the date! Google I/O returns May 18-20 Register now


JPEG encode input image with provided compression quality.

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

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).

A Tensor of type string.