|
|
void | clear () |
| | Clears the image data and release any allocated memory. |
| |
|
PixelFormat::Compression | compression () const |
| | Returns the compression used. |
| |
|
void * | data () const |
| | Returns a pointer to the raw image data. |
| |
| int | datasize () const |
| | Returns the size of the image data in bytes. More... |
| |
|
int | height () const |
| | Returns the height of the image. |
| |
| bool | loadImage (QFile &file, const ImageInfo &info, int size) |
| | Loads image data from the given file handle. More... |
| |
| bool | read (const QString &filename, int level=0) |
| | Reads an image from a file. More... |
| |
|
float | readAlpha (Nimble::Vector2i pos) const |
| | Returns the alpha in the given pixel position. |
| |
|
int | width () const |
| | Returns the widget of the image. |
| |
A compressed image. Currently supports DXT format.