add quality param; tested size and format