See layers beneath the solid I'm editing in After Effects
Don't apply the brush tool to the solid - apply it to your photo instead.  There is an option in the tool to choose whether to apply the brush over the image, or to reveal the image.  When you're drawing your brush strokes, set it to apply over the image.  When you're ready to animate the strokes, set it to reveal the image.