Use old jpeg_encoder_encode API
Set APP_ORIENTATION to 0