Fast native implementation of Flood fill algorithm for Android
This is fast native implementation based on original "threekkapps_library" but works 3 to 4 times faster and takes 10-20% less memory on execution
Sample app Screenshot |
---|
Usage:
NativeLib.floodFill1(bitmap, event.x.toInt(), event.y.toInt(), selectedColor,tolerance)
Credits:
Based on "jnibitmap.cpp" file from
https://github.com/mar3kk/threekkapps_library/
https://github.com/Euginius/threekkapps_library/