fixes validation of quality option
fixes validation of quality option

- fixes https://github.com/lokesh/color-thief/issues/180

mikesprague/color-thief,mikesprague/color-thief,lokesh/color-thief,lokesh/color-thief