#include <types.h>
Public Member Functions | |
Image (const ImageSize size, const T val=0) | |
Image (const Image &other) | |
Image (const std::string &filePath) | |
bool | loadFromDisk (const std::string &filePath) |
bool | saveToDisk (const std::string &filePath) |
void | resize (const ImageSize size) |
void | fill (const T val) |
size_t | getWidth () const |
size_t | getHeight () const |
ImageSize | getSize () const |
T & | operator() (unsigned int x, unsigned int y) |
T | operator() (unsigned int x, unsigned int y) const |
T * | ptr () |
T const * | ptr () const |
template<class Archive > | |
void | serialize (Archive &ar) |
A general purpose dynamically sized image type.