Functions | |
image_t * | load (const std::string &filename) |
Loads the PPM from the file filename. More... | |
image_t * | load (std::istream &stream) |
Loads the PPM from the stream filename. More... | |
bool | can_load (const std::string &filename) |
Determines if filename is a loadable PPM. More... | |
bool | can_load (std::istream &stream) |
Determines if filename is a loadable PPM. More... | |
image_t * | load_ascii_pgm (std::istream &stream) |
image_t * | load_ascii_ppm (std::istream &stream) |
image_t * | load_binary_pgm (std::istream &stream) |
image_t * | load_binary_ppm (std::istream &stream) |
|
Determines if filename is a loadable PPM.
Definition at line 77 of file ppm_image.cpp. |
|
Determines if filename is a loadable PPM.
Definition at line 56 of file ppm_image.cpp. |
|
Loads the PPM from the
Definition at line 30 of file ppm_image.cpp. |
|
Loads the PPM from the file filename.
Definition at line 9 of file ppm_image.cpp. |