Namespaces | Enumerations | Functions
imgcodecs.h File Reference
#include "ecvl/core/filesystem.h"
#include "ecvl/core/image.h"
#include <string>

Go to the source code of this file.

Namespaces

 ecvl
 

Enumerations

enum  ecvl::ImReadMode { ecvl::ImReadMode::GRAYSCALE = 0, ecvl::ImReadMode::COLOR = 1, ecvl::ImReadMode::ANYCOLOR = 4 }
 Enum class representing the ECVL ImRead flags. More...
 

Functions

bool ecvl::ImRead (const ecvl::filesystem::path &filename, Image &dst, ImReadMode flags=ImReadMode::ANYCOLOR)
 Loads an image from a file. More...
 
bool ecvl::ImReadMulti (const ecvl::filesystem::path &filename, Image &dst)
 Loads a multi-page image from a file. More...
 
bool ecvl::ImWrite (const ecvl::filesystem::path &filename, const Image &src)
 Saves an image into a specified file. More...