Image (bmp) Read and Write examples written in C