A simple BMP formatter based on C language