An image storage type which holds the pixels using whatever is the default storage format on the current platform. More...
#include <juce_Image.h>


Public Member Functions | |
| NativeImageType () | |
| ~NativeImageType () override | |
| 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 using whatever is the default storage format on the current platform.
@tags{Graphics}
| juce::NativeImageType::NativeImageType | ( | ) |
|
override |
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 juce::ImageType.
|
overridevirtual |
Must return a unique number to identify this type.
Implements juce::ImageType.