uint width | Image width |
uint height | Image height |
Color col | Image color (black by default) |
uint width | Image width |
uint height | Image height |
ubyte[] data | array of pixels in memory (assumed format is RGBA) |
char[] filename | Path of the image file to load |
byte[] data | array of data in memory |
uint width | Image width |
uint height | Image height |
ubyte[] data | array of pixels in memory (assumed format is RGBA) |
char[] filename | Path of the file to save (overwritten if already exist) |
uint width | Image width |
uint height | Image height |
Color col | Image color (black by default) |
Color colorKey | Color to become transparent |
ubyte alpha | Alpha value to use for transparent pixels (0 by default) |
uint width | New width |
uint height | New height |
Color col | Color to assign to new pixels (black by default) |
uint x | X coordinate of pixel in the image |
uint y | Y coordinate of pixel in the image |
Color col | New color for pixel (X, Y) |
uint x | X coordinate of pixel in the image |
uint y | Y coordinate of pixel in the image |
bool smooth | True to enable smoothing filter, false to disable it |