Introduction - If you have any usage issues, please Google them yourself
C Language Implementation of the 24 true-color bmp image to 256 color pictures of the conversion, image preprocessing is the first step, everything is hard in the beginning, very useful source