Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tensorflow::ops::EncodeJpegVariableQuality

#include <image_ops.h>

JPEG encode input image with provided compression quality.

Summary

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

Arguments:

  • scope: A Scope object
  • images: Images to adjust. At least 3-D.
  • quality: An int quality to encode to.

Returns:

  • Output: 0-D. JPEG-encoded image.

Constructors and Destructors

EncodeJpegVariableQuality(const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input quality)

Public attributes

contents
operation

Public functions

node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

contents

::tensorflow::Output contents

operation

Operation operation

Public functions

EncodeJpegVariableQuality

 EncodeJpegVariableQuality(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input quality
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const