I notice for the solution provided in this link there are filling "errors" near the black boundary, which means some pixels near boundary are not filled, how to solve that? to fill with a tolerance?
I notice for the solution provided in this link there are filling "errors" near the black boundary, which means some pixels near boundary are not filled, how to solve that? to fill with a tolerance?
Two options:
1. Modify the algorithm and make it test the difference between the colors instead of checking for equality.
2. Use images where the lines were drawn without antialiasing.
For a person who knows little or nothing about programming, I never thought that I would do something like this for my children.
With B4X and the help of the forum we can do unexpected things.
This is the result of what I did.
Two options:
1. Modify the algorithm and make it test the difference between the colors instead of checking for equality.
2. Use images where the lines were drawn without antialiasing.