Portions of this software are based in part on the work of the Independent JPEG Group.