libjpeg sample code howto This is a sample file that demonstrates how to open and write a jpeg image file using the libjpeg library. This file is a starting point for manipulating jpeg images, and you can use the file "as is" without worrying about the internals of the libjpeg library. Below, I provide some explanations about the workings of the sample file, how to build/run it and how it actually