A generic image class to manage a block of data as an image. More...
|typedef T *||iterator|
|typedef const T *||const_iterator|
|BasicImage (T *data, const ImageRef &size)|
|BasicImage (const BasicImage ©of)|
|void||operator= (const BasicImage ©of)|
|const_iterator||begin () const|
|const_iterator||end () const|
A generic image class to manage a block of data as an image.
Provides basic image access such as accessing a particular pixel co-ordinate.
|T||The pixel type for this image. Typically either |
A BasicImage does not manage its own data, but provides access to an arbitrary externally-managed block of data as though it were an image. Use the derived Image class if you want an image which also has its own data.
Loading and saving, format conversion and some copying functionality is provided by external functions rather than as part of this class. See the Image loading and saving, and format conversion module for documentation of these functions.