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

JpgWriter Class Reference

Writes out image data as a JPG file. More...

#include <JpgWriter.h>

List of all members.

Public Methods

 JpgWriter (int quality)
 Constructor.

void write_image (CString path, int width, int height, const rgbcolour_t *rgb_data)
 Writes the given image to the given file.


Private Attributes

int m_quality


Detailed Description

Writes out image data as a JPG file.

This provides an interface to the Independent JPEG Group's JPG library.


Constructor & Destructor Documentation

JpgWriter::JpgWriter int    quality
 

Constructor.


Member Function Documentation

void JpgWriter::write_image CString    path,
int    width,
int    height,
const rgbcolour_t   rgb_data
 

Writes the given image to the given file.

Throws a CString exception containing the error message if there is a problem writing the file.


Member Data Documentation

int JpgWriter::m_quality [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Jul 21 11:52:17 2002 for FractalViewer by doxygen1.2.16