Wider JPEG APPn headers handling