Function aoc::year2019::day08::part2

source ·
pub fn part2(input: &str) -> String
Expand description

Since a black or white pixel covers those in lower layers, it’s faster to check each pixel stopping as soon as we hit a non-transparent value.