#include "imgfile.h"
#include "media/jpegparser.h"
#include "media/pngparser.h"
#include "media/pnmparser.h"
#include "nub/log.h"
#include "rutz/error.h"
#include "rutz/pipe.h"
#include "rutz/sfmt.h"
#include <cctype>
#include <iterator>
#include <vector>
#include "rutz/trace.h"
Go to the source code of this file.
Enumerations | |
enum | image_file_type { UNKNOWN, JPEG, PNM, PNG, GIF } |
Functions | |
void | media::load_image (const char *filename, media::bmap_data &data) |
Load data from filename, which must be in a supported format. | |
void | media::save_image (const char *filename, const media::bmap_data &data) |
Save data to filename (file format is inferred from the filename). |
Definition in file imgfile.cc.