Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

ImageMagicKSource Class Reference

A class which implements the ImageSource interface as a source of Images from a file stored in any format supported by the ImageMagicK library (see http://www.imagemagick.org). More...

#include <ImageMagicKSource.h>

Inheritance diagram for ImageMagicKSource::

ImageSource List of all members.

Public Methods

 ImageMagicKSource (char *filename, char *prog_path)
 Constructor: Opens file + reads data.

 ImageMagicKSource (char *filename)
 Constructor: Opens file + reads data.

 ~ImageMagicKSource ()
 Destructor, frees memory.

bool InitOK ()
void get_size (unsigned int &w, unsigned int &h)
 Gets width + height.

virtual ImageSourceoperator>> (Image &)
 Writes data to image.

virtual ImageSourceoperator>> (ImageRGB &)
 Writes rgb data to image.

virtual ImageSourceoperator>> (ImageGrey &)
 Writes greyscale data to image.


Detailed Description

A class which implements the ImageSource interface as a source of Images from a file stored in any format supported by the ImageMagicK library (see http://www.imagemagick.org).

This includes PNG, GIF, JPEG, TIFF etc etc etc.

Each image that is extracted from the ImageMagicK class is a copy of the original image.

Definition at line 28 of file ImageMagicKSource.h.


The documentation for this class was generated from the following files:
Generated at Fri Aug 13 17:29:22 2004 for libRTImage by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001