class ImageEncoder : public RasterEncoder
This RasterEncoder derived class encodes scanlines to produce regular Image as result.
operator const RGBA *()
Returns a pointer to the array of pixels of Image.
operator Image()
Returns the resulting Image. Should only be called after all scanlines (according to requested Image size) are completed.
|