14 #ifndef ECVL_IMGCODECS_H_ 15 #define ECVL_IMGCODECS_H_ 62 bool ImReadMulti(
const ecvl::filesystem::path& filename, Image& dst);
77 bool ImWrite(
const ecvl::filesystem::path& filename,
const Image& src);
84 #endif // !ECVL_IMGCODECS_H_ bool ImRead(const ecvl::filesystem::path &filename, Image &dst, ImReadMode flags=ImReadMode::ANYCOLOR)
Loads an image from a file.
If set, always convert image to the 3 channel BGR color image.
bool ImWrite(const ecvl::filesystem::path &filename, const Image &src)
Saves an image into a specified file.
ImReadMode
Enum class representing the ECVL ImRead flags.
If set, the image color format is deduced from file format.
bool ImReadMulti(const ecvl::filesystem::path &filename, Image &dst)
Loads a multi-page image from a file.
If set, always convert image to the single channel grayscale image (codec internal conversion).