Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

image Namespace Reference

Image related objects and methods. More...


Compounds

class  image::image_t
 A 2D image. More...


Functions

image_tload (const std::string &filename)
 Loads the image from the file filename. More...

image_tload (std::istream &stream)
 Loads the image from the stream filename. More...


Detailed Description

Image related objects and methods.

Contains all methods and objects to load, write and manipulate images.


Function Documentation

image::image_t * image::load std::istream &    stream
 

Loads the image from the stream filename.

Returns:
image_t* to the image.

Definition at line 35 of file image_loader.cpp.

image::image_t * image::load const std::string &    filename
 

Loads the image from the file filename.

Can load the following image formats:

  • ASCII/Binary Portable Pixmap (PPM)
  • ASCII/Binary Portable Grey Map (PGM)
  • Non-RLE True Color 24- 32-bit Version 1 Targa (TGA)
Returns:
image_t* to the image.

Definition at line 15 of file image_loader.cpp.

Referenced by gl::texture::load.


Generated on Tue Feb 11 18:49:48 2003 for uber by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002