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 

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/encode-jpeg-variable-quality