#include <image_ops.h>
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.
Arguments:
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 |
::tensorflow::Output contents
Operation operation
EncodeJpegVariableQuality( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input quality )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
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