imgfile.cc File Reference

#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"

Include dependency graph for imgfile.cc:

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).


Detailed Description

load/save images in any (supported) format

Definition in file imgfile.cc.


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:51:05 2008 by Doxygen version 1.5.5.