4) Camlicon.

With camlicon, you can draw simple images, and save them in caml files. You can include the files in a project and compile them with caml light.


Figure 1

In the Camlicon window, there is a gread, which magnify by 4 the image (Above figue).

You draw a pixel by clicking in this area, and draw a curb by dragging the mouse pointer. At the bottom of the window, there is the image itself, with its final size. You can choose the current color with the buttons in the right part.
The menu File is:

The format of the files is:
#open "windows";;

let name =
[|
  [| col_1_1; ... ; col_1_n |];
  ...
  [| col_p_1; ... ; col_p_n |]
|];;