Here is a rough idea. It's late and I don't have time time to really refine the edges, but here is a rough idea of what I'm talking about.
Selected out the flag, then I made a layer out of it. Next I made a solid black new layer and I placed the flag over it. Like I said If I had the time I...