Changable jpeg quality when creating thumbnail