Floodfill in objective c

后端 未结 2 992
情深已故
情深已故 2020-12-24 03:34

I am trying for a coloring app and to figure out floodfill in objective c anybody did this before..???I am reading all pixel data in a picture and i can change it also..but

相关标签:
2条回答
  • 2020-12-24 03:58

    Theres lots of source code available for flood fill algos. You can probably find a good one and throw it in a method

    http://www.google.co.uk/search?q=c+flood+fill+algorithm

    If its been written in C/C++ you can use it in Objective-C

    0 讨论(0)
  • 2020-12-24 04:20

    I figured it out myself This link really helped me to identify the black and white dot in particular pixels.flood filling is explained here.

    0 讨论(0)
提交回复
热议问题