A simple JPEG encoder written in C++.