These easy to use functions allow images to be created using memblocks within dark basic pro code. This can be used to create your own images and to edit loaded images.

The shapes included are:
-dot
-line
-circle (not filled)
-box (filled)

The top left pixel of an image memblock is (1,1) when working with these functions. The bottom right is therefore (width,height). Although memblocks allow transparency to be edited, this is ignored in my functions.

The necessary code is below the remark "functions". Everything above is just an example.