faster JPEG transform
Merge pull request #4950 from fkaelberer/fasterJPEGtransform

Faster JPEG transform