⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

count_unique_colors

Function count_unique_colors 

Source
pub fn count_unique_colors(
    pixels: &[u32],
    width: usize,
    rect: &PixelRect,
) -> usize
Expand description

Count the number of unique colors in a pixel region