Function mindspore::dataset::vision::WriteJpeg
Defined in File vision.h
Function Documentation
-
Status mindspore::dataset::vision::WriteJpeg(const std::string &filename, const mindspore::MSTensor &image, int quality = 75)
Write the image data into a JPEG file.
- Parameters
filename – [in] The path to the file to be written.
image – [in] The data tensor.
quality – [in] The quality for JPEG file, in range of [1, 100]. Default: 75.
- Returns
The status code.