Added jpg quality setting