added quality support & improved snipping