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

Method pop_as_slice

src/pal.rs:259–261  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

257
258 #[inline(always)]
259 pub fn pop_as_slice(&self) -> &[PalPop] {
260 &self.pops
261 }
262
263 // this is max colors allowed by the user, not just max in the current (candidate/low-quality) palette
264 pub(crate) fn with_fixed_colors(mut self, max_colors: PalLen, fixed_colors: &[f_pixel]) -> Self {

Callers 2

vp_create_nodeFunction · 0.80
replace_unused_colorsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected