pub fn find_delta_fuzzy(
curr_pixels: &[Rgb],
prev_pixels: &[Rgb],
prev_indices: Option<&[u8]>,
options: &DeltaOptions<'_>,
) -> Option<FrameDelta>Expand description
Finds the smallest bounding box and maps pixels to transparent if they are “close enough” to the previous frame’s color.
§Arguments
curr_pixels- Pixels of the current frameprev_pixels- Pixels of the previous frameprev_indices- Palette indices used in the previous frame at these coordinatesoptions- Delta compression configuration