A pixel map, or just a simple image.
| Clear |
Fill the pixel map with given color. |
| Finalize |
|
| GetBmp |
Returns the raw bytes of a BMP file that contains this pixel maps image.
Internally writes and deletes a file, so be careful using it often. |
| GetJpeg |
Returns the raw bytes of a JPEG file that contains this pixel maps image.
Internally writes and deletes a file, so be careful using it often. |
| GetPixel |
|
| GetPng |
Returns the raw bytes of a PNG file that contains this pixel maps image.
Internally writes and deletes a file, so be careful using it often. |
| Resize |
Returns a new pixel map that contains resized version of this image with given dimensions.
Will try to preserve aspect ratio. |
| SaveJpg |
Save the pixel map as a JPEG file at given location. |
| SavePng |
Save the pixel map as a PNG file at given location. |
| Scroll |
Duplicate a sub-rectangle of the image at re-draw it at given coordinates. |
| UpdateFromPixels |
|