Introduction - If you have any usage issues, please Google them yourself
After jpeg from bmp encoded generate jpg images, inverted images of my colleagues to achieve the effect. Complete c code, do not call any image library, a suitable transplant, or compilation.