41 #include "drain/util/FileInfo.h"
90 void read(
Image & image,
const std::string & path);
Definition: FileInfo.h:97
Definition: FileInfo.h:48
A map of FlexVariable:s.
Definition: VariableMap.h:138
For reading and writing images in PNM format.
Definition: FilePnm.h:59
static void write(const ImageFrame &image, const std::string &path)
Read image array after essential metadata (type and geometry) has been processed.
Definition: FilePnm.cpp:439
static void read(Image &image, const std::string &path)
Reads a pnm file to an image.
Definition: FilePnm.cpp:189
static void readFrame(ImageFrame &image, const std::string &path)
Read image array, assuming type and geometry already set.
Definition: FilePnm.cpp:218
static FileType readHeader(drain::image::ImageConf &conf, drain::FlexVariableMap &properties, std::istream &infile)
Read image array after essential metadata (type and geometry) has been processed.
Definition: FilePnm.cpp:54
static const FileInfo fileInfo
Syntax for recognising pnm files.
Definition: FilePnm.h:76
Struct for image (excluding data)
Definition: ImageConf.h:333
Image with static geometry.
Definition: ImageFrame.h:67
Class for multi-channel digital images. Supports dynamic typing with base types (char,...
Definition: Image.h:184
Definition: DataSelector.cpp:1277