MCPcopy Create free account
hub / github.com/ImageOptim/libimagequant / quality

Method quality

src/attr.rs:185–190  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

183 /// Reads values set with `set_quality`
184 #[must_use]
185 pub fn quality(&self) -> (u8, u8) {
186 (
187 self.max_mse.map_or(0, mse_to_quality),
188 mse_to_quality(self.target_mse),
189 )
190 }
191
192 /// Describe dimensions of a slice of RGBA pixels
193 ///

Callers 2

liq_get_min_qualityFunction · 0.80
liq_get_max_qualityFunction · 0.80

Calls 1

mse_to_qualityFunction · 0.85

Tested by

no test coverage detected