.
Creates with existing data. The data pointer is stored here.
Returns this
.
.
.
.
gets it as a TrueColorImage. May return this or may do a conversion and return a new image
Image width, in pixels
Image height, in pixels
Get image pixel. Slow, but returns valid RGBA color (completely transparent for off-image pixels).
Set image pixel.
Load image from file. This will import arsd.image to do the actual work, and cost nothing if you don't use it.
Convenient alias for fromImage
An RGBA array of image data. Use the free function quantize() to convert to an IndexedImage