http://www.ibm.com/developerworks/cn/linux/l-cn-jpeg/index.html?ca=drs-cn-0904