ImageSourcecreate_rgb ?alpha ?max_val width height is an RGB image of dimensions width * height. Raises Invalid_argument if width or height are negative, or if max_val is not in the range [1;65535].
create_rgb ?alpha ?max_val width height is a greyscale image of dimensions width * height. Raises Invalid_argument if width or height are negative, or if max_val is not in the range [1;65535].
fill_rgb ?alpha image r g b overwrites image with r,g,b colors. TODO
copy image is a copy of image backed my a new memory allocation, so that the mutations of either copy are independent of each other