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

JPEGFilter Class Reference

Import/export filter for JPEG images. More...

#include <JPEGFilter.h>

Inherits ImageFilter.

Inheritance diagram for JPEGFilter:

Inheritance graph
[legend]
Collaboration diagram for JPEGFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

Imageread (const string &fileName)
 Reads and returns a JPEG image. More...

void write (const string &fileName, Image &image)

Detailed Description

Import/export filter for JPEG images.

A JPEG Filter is used to read and write JPEG images. It is an abstraction from the libjpeg library.


Member Function Documentation

Image * JPEGFilter::read const string &    fileName [virtual]
 

Reads and returns a JPEG image.

Parameters:
fileName  absolute or relative pathname to jpeg file.
Returns:
pointer to a new Image.
Exceptions:
runtime_error  when a JPEG decode error occurs.

Implements ImageFilter.


The documentation for this class was generated from the following files:
This documentation was generated using doxygen. If you have any comments or additions please mail me.