#include <GnashImage.h>
List of all members.
Constructor & Destructor Documentation
Construct an Output for writing to an IOChannel.
- Parameters:
-
out | The gnash::IOChannel to write the image to. Ownership is shared. |
width | The width of the resulting image |
height | The height of the resulting image. |
Member Function Documentation
Write the given image to the given IOChannel in a specified format.
- Parameters:
-
type | The image format to write in (see GnashEnums.h) |
out | The IOChannel to write to. |
image | The image to write. |
quality | The quality of the image output, from 0..100. Values outside this range will be clamped to the minimum or maxium value. The quality is not used for all formats. |
References _, gnash::image::GnashImage::begin(), gnash::image::JpegOutput::create(), gnash::image::createPngOutput(), gnash::GNASH_FILETYPE_JPEG, gnash::GNASH_FILETYPE_PNG, gnash::image::GnashImage::height(), height, gnash::image::GnashImage::type(), gnash::image::TYPE_RGB, gnash::image::TYPE_RGBA, gnash::image::GnashImage::width(), and width.
Write RGB image data using the parameters supplied at construction.
- Parameters:
-
rgbData | The raw RGB image data to write as an image. |
Implemented in gnash::image::JpegOutput.
Write RGBA image data using the parameters supplied at construction.
- Parameters:
-
rgbaData | The raw RGBA image data to write as an image. |
Reimplemented in gnash::image::JpegOutput.
References _.
Member Data Documentation
The documentation for this class was generated from the following files: