There is also an original copy of the jpegdump (dump JPEG markers) routine
written by Allan Hessenflow.  This routine served as the basis for the JPEG
quality estimation routine in my imagsize utility, so I'm providing a copy here
as a courtesy.  A complete copy of jpegdump can be found at
http://www.programmersheaven.com/zone10/cat453/17054.htm.