added support for turbo jpeg