(&mut self, attr: &Attributes)
| 183 | /// If you're generating palette for only one image, it's better not to use the `Histogram`. |
| 184 | #[inline] |
| 185 | pub fn quantize(&mut self, attr: &Attributes) -> Result<QuantizationResult, Error> { |
| 186 | self.quantize_internal(attr, true) |
| 187 | } |
| 188 | |
| 189 | #[inline(never)] |
| 190 | pub(crate) fn quantize_internal(&mut self, attr: &Attributes, freeze_result_colors: bool) -> Result<QuantizationResult, Error> { |