Added quality parameter for slimmage to adjust