Skip to content

Commit f9d1f51

Browse files
committed
Merge pull request opencv#18533 from paroj:imwritemulti
2 parents d2dbc9d + bc6a70c commit f9d1f51

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/imgcodecs/include/opencv2/imgcodecs.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,14 @@ It also demonstrates how to save multiple images in a TIFF file:
220220
CV_EXPORTS_W bool imwrite( const String& filename, InputArray img,
221221
const std::vector<int>& params = std::vector<int>());
222222

223+
/// @overload multi-image overload for bindings
224+
CV_WRAP static inline
225+
bool imwritemulti(const String& filename, InputArrayOfArrays img,
226+
const std::vector<int>& params = std::vector<int>())
227+
{
228+
return imwrite(filename, img, params);
229+
}
230+
223231
/** @brief Reads an image from a buffer in memory.
224232
225233
The function imdecode reads an image from the specified buffer in the memory. If the buffer is too short or

0 commit comments

Comments
 (0)