#include "pgmppm.h"
#include "common/wave_ex.h"
#include "perf/perf.h"
#include "util/token_stream.h"
Go to the source code of this file.
Namespaces | |
namespace | pgmppm |
Functions | |
bool | pgmppm::readPgm (std::istream &in, notify_size_fn notify, pgm_write_pixel_fn write_pixel, void *context) |
void | pgmppm::writePgm (std::ostream &out,int width,int height,int max_gray,pgm_pixel_fn fn,void *context) |
write a pgm file to an output stream | |
void | pgmppm::writePpm (std::ostream &out, int width, int height, int max_color, ppm_pixel_fn fn, void *context) |
Variables | |
static const int | pgmppm::s_maxGray = 256 |
static const int | pgmppm::s_maxColor = 256 |
static const char * | pgmppm::s_magicPGM = "P5" |
static const char * | pgmppm::s_magicPPM = "P6" |