Chintan-Dave/UIImageScanlineFloodfill — pull request #11 by sztoth (2014-03-04 08:56:45+00:00)
Title: Dot coloring

Hello!

Leitlia contacted you about "only dots are colored in the picture" problem. The problem was that the startingPoint was not valid pixelspoints. For example (213.459810, 679,599712). So we do a little rounding where the startingPoint value is used.

If you use images with alpha areas, then you don't want to paint that area. So theres is a check at the beginning if the startingPoint has alpha. If it has then there won't be any coloring.

There is also an option to where you can disable the Anti-alias, if you want to change exact colors only.

We have tested these changes and it is working for us. But you should check them too.