Removed the need for a hard coded jpeg library