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

Method gamma

src/image.rs:231–233  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

229
230 #[inline(always)]
231 pub(crate) fn gamma(&self) -> Option<f64> {
232 if self.px.gamma > 0. { Some(self.px.gamma) } else { None }
233 }
234
235 /// Builds two maps:
236 /// `importance_map` - approximation of areas with high-frequency noise, except straight edges. 1=flat, 0=noisy.

Callers 1

add_imageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected