1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #28142 from parekh-parth2001:doc-imwrite-return

Document imwrite boolean return value
This commit is contained in:
Alexander Smorkalov
2025-12-08 08:56:41 +03:00
committed by GitHub
@@ -556,6 +556,7 @@ It also demonstrates how to save multiple images in a TIFF file:
@param filename Name of the file.
@param img (Mat or vector of Mat) Image or Images to be saved.
@param params Format-specific parameters encoded as pairs (paramId_1, paramValue_1, paramId_2, paramValue_2, ... .) see cv::ImwriteFlags
@return true if the image is successfully written to the specified file; false otherwise.
*/
CV_EXPORTS_W bool imwrite( const String& filename, InputArray img,
const std::vector<int>& params = std::vector<int>());