An image storage type which holds the pixels in-memory as a simple block of values. More...
#include <juce_Image.h>
Public Member Functions | |
SoftwareImageType () | |
~SoftwareImageType () | |
virtual Image | convert (const Image &source) const |
Returns an image which is a copy of the source image, but using this type of storage mechanism. More... | |
ImagePixelData::Ptr | create (Image::PixelFormat, int width, int height, bool clearImage) const override |
Creates a new image of this type, and the specified parameters. More... | |
int | getTypeID () const override |
Must return a unique number to identify this type. More... | |
An image storage type which holds the pixels in-memory as a simple block of values.
SoftwareImageType::SoftwareImageType | ( | ) |
SoftwareImageType::~SoftwareImageType | ( | ) |
Returns an image which is a copy of the source image, but using this type of storage mechanism.
For example, to make sure that an image is stored in-memory, you could use:
|
overridevirtual |
Creates a new image of this type, and the specified parameters.
Implements ImageType.
|
overridevirtual |
Must return a unique number to identify this type.
Implements ImageType.