a tool for trans dotmatrix to c style array