Flips the image on the vertical axis. Useful to set images to the correct top-left screen origin point.
Flips the image on the vertical axis. Useful to set images to the correct top-left screen origin point.
Returns the number of planes the image have. Default is one.
Returns the image data.
Returns a palette range, which can be used to read the palette.
Looks up the index on the palette, then returns the color value as a 32 bit value.
Reads a single 32bit pixel. If the image is indexed, a color lookup will be done.
Returns true if the image originates from the right
Returns true if the image originates from the top
Returns the background color if there's any, or a default value otherwise.
Returns the background color index if there's any. Returns -1 if there's no background color, -2 if background color is not indexed.
Returns the number of bits used per sample.
Returns the number of bits used per colormap entry.
Returns the pixelformat of the palette. See enumerator PixelFormat for more info.
Returns the pixelformat of the image. See enumerator PixelFormat for more info.
Returns the height of the image in pixels.
Returns true if the image is indexed.
Returns the width of the image in pixels.
Contains image data and information.
Contains palette data and information
used for fast access of indexes DEPRECATED!
used for fast access of indexes DEPRECATED!
All image classes should be derived from this base. Implements some basic functionality, such as reading and writing pixels, basic data storage, and basic information. Pixeldata should be stored decompressed, but indexing should be preserved on loading with the opinion of upconverting to truecolor.