Function mindspore::dataset::vision::EncodeJpeg
Defined in File vision.h
Function Documentation
-
Status mindspore::dataset::vision::EncodeJpeg(const mindspore::MSTensor &image, mindspore::MSTensor *output, int quality = 75)
Encode the image as JPEG data.
- 参数
image – [in] The image to be encoded.
output – [out] The Tensor data.
quality – [in] The quality for the output tensor, in range of [1, 100]. Default: 75.
- 返回
The status code.