#include <GnashImagePng.h>
List of all members.
Public Member Functions |
| PngImageOutput (boost::shared_ptr< IOChannel > out, size_t width, size_t height, int quality) |
| Create an output object bound to a gnash::IOChannel.
|
| ~PngImageOutput () |
void | writeImageRGB (const unsigned char *rgbData) |
| Write RGB image data using the parameters supplied at construction.
|
void | writeImageRGBA (const unsigned char *rgbaData) |
| Write RGBA image data using the parameters supplied at construction.
|
Static Public Member Functions |
static std::auto_ptr< ImageOutput > | create (boost::shared_ptr< IOChannel > out, size_t width, size_t height, int quality) |
Constructor & Destructor Documentation
gnash::PngImageOutput::PngImageOutput |
( |
boost::shared_ptr< IOChannel > |
out, |
|
|
size_t |
width, |
|
|
size_t |
height, |
|
|
int |
quality | |
|
) |
| | |
Create an output object bound to a gnash::IOChannel.
- Parameters:
-
| out | The IOChannel used for output. Must be kept alive throughout |
| quality | Unused in PNG output |
PNG output
gnash::PngImageOutput::~PngImageOutput |
( |
|
) |
|
Member Function Documentation
std::auto_ptr< ImageOutput > gnash::PngImageOutput::create |
( |
boost::shared_ptr< IOChannel > |
out, |
|
|
size_t |
width, |
|
|
size_t |
height, |
|
|
int |
quality | |
|
) |
| | [static] |
void gnash::PngImageOutput::writeImageRGB |
( |
const unsigned char * |
rgbData |
) |
[virtual] |
Write RGB image data using the parameters supplied at construction.
- Parameters:
-
| rgbData | The raw RGB image data to write as an image. |
Implements gnash::ImageOutput.
void gnash::PngImageOutput::writeImageRGBA |
( |
const unsigned char * |
|
) |
[virtual] |
Write RGBA image data using the parameters supplied at construction.
- Parameters:
-
| rgbaData | The raw RGBA image data to write as an image. |
Reimplemented from gnash::ImageOutput.
The documentation for this class was generated from the following files: