Skip to content

Flood fill for "Invert Colors" #12

@AshrayShetty4

Description

@AshrayShetty4

The Invert Colors option in the menu bar currently takes a lot of time to give an output (especially on larger screens). Because of this, the application gives the user an illusion that it has frozen and the user might quit the application, losing his/her progress.

A suggestion to this would be using the flood fill algorithm which is already being used in the fill bucket feature.
Here's a simple implementation of the algorithm.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions