Currently the fill algorithm can be slow, especially for high-res pictures where a lot of areas need to be filled. I am currently using the pillow.ImageDraw.floodfill() tool - perhaps there is something faster. Or alternatively, I might be able to write something myself in Rust (since the pictures are just arrays of numbers from 0 to 255).
Currently the fill algorithm can be slow, especially for high-res pictures where a lot of areas need to be filled. I am currently using the pillow.ImageDraw.floodfill() tool - perhaps there is something faster. Or alternatively, I might be able to write something myself in Rust (since the pictures are just arrays of numbers from 0 to 255).