sample of 12bit jpeg compression by using libjpeg turbo