Merge pull request #18533 from paroj:imwritemulti

pull/18614/head
Alexander Alekhin 5 years ago
commit f9d1f5196a
  1. 8
      modules/imgcodecs/include/opencv2/imgcodecs.hpp

@ -220,6 +220,14 @@ It also demonstrates how to save multiple images in a TIFF file:
CV_EXPORTS_W bool imwrite( const String& filename, InputArray img, CV_EXPORTS_W bool imwrite( const String& filename, InputArray img,
const std::vector<int>& params = std::vector<int>()); const std::vector<int>& params = std::vector<int>());
/// @overload multi-image overload for bindings
CV_WRAP static inline
bool imwritemulti(const String& filename, InputArrayOfArrays img,
const std::vector<int>& params = std::vector<int>())
{
return imwrite(filename, img, params);
}
/** @brief Reads an image from a buffer in memory. /** @brief Reads an image from a buffer in memory.
The function imdecode reads an image from the specified buffer in the memory. If the buffer is too short or The function imdecode reads an image from the specified buffer in the memory. If the buffer is too short or

Loading…
Cancel
Save