Google I/O returns May 18-20! Reserve space and build your schedule 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.

Args:

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

Returns:

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