Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

StreamRasterEncoder

 

class StreamRasterEncoder : public RasterEncoder

This class adds methods useful for working with image streams to RasterEncoder.

 

 

Public Method List

 

void SetStream(Stream& _s)

Sets the Stream to be used as source of image data. Derived class can query this stream using GetStream method.

 


 

Stream& GetStream()

Returns current stream.

 


 

void Save(Stream& s, Raster& raster)

Stores raster to the stream.

 


 

bool SaveFile(const char *fn, Raster& raster)

Saves raster to the file fn.

 


 

String SaveString(Raster& raster)

Stores raster to memory and returns resulting binary data as String.

 


 

void Save(Stream& s, const Image& img)

Stores img to the stream.

 


 

bool SaveFile(const char *fn, const Image& img)

Saves img to the file fn.

 


 

String SaveString(const Image& img)

Stores img to memory and returns resulting binary data as String.

 

 

Last edit by cbpporter on 01/30/2010. Do you want to contribute?. T++