change size and quality of png