Textures are inevitable in graphics programming. JPEG textures can
save you lots of disk space but they're not easy to decode and use in
your app. Luckily for us, there's a free library that does the nasty
work, it's written by the Independent
JPEG Group.
This library is not easy to use for beginners at programming who
are learning OpenGL, so I've written a small example of it's usage.