Flood Fill Algorithm?

Is your code drawing the picture in the first place? If so, keep a lot of turtle motion and use it to recapitulate the drawing.