If the quality parameter is out of range, it should be treated as 1.0