Removed use of libjpeg