random-binary-pic-generator Check your rand()'s performance bitmap.h and bitmap.c are from here and slightly modified.