UIC JPEG encoder JPEGEncoderParamsXXX not well designed
Every type of m_color declared inside class JPEGEncoderParamsXXX (uic.jpeg.enc.h) was JCOLOR. However, it actually a IM_COLOR type. This might confuse the user. I recommend you change the UIC JPEG sample to prevent try and error. And suggest you to review the decoder part.