Load or save an image.
More...
#include <image_file.h>
|
static PixelBufferPtr | load (const std::string &filename, const std::string &type=std::string(), bool srgb=false) |
|
static PixelBufferPtr | load (const IODevicePtr &file, const std::string &type, bool srgb=false) |
|
static void | save (PixelBufferPtr buffer, const std::string &filename, const std::string &type=std::string()) |
|
static void | save (PixelBufferPtr buffer, const IODevicePtr &file, const std::string &type) |
|
static PixelBufferPtr | try_load (const std::string &filename, const std::string &type=std::string(), std::string *out_failure_reason=nullptr, bool srgb=false) |
|
The documentation for this class was generated from the following file: