So, first you have to download a app called "Gimp", you dont need to pay money, its free, so first i open the app, then inside the app i paste the flag, then i paste the map, i make a new layer, then i start to draw the borders of the country map, later i remove the map and boom, ez flag map, if you want to remove the rest of the flag, you can fill the layer with a random color