I have a map image and I want to crop a selected areas of this map using ONLY php.I find ways of cropping but all are in rectangles shape.but I want a polygon shape of my source image,and I have no Idea where to start. here is my img
I want to save pieces of this map(whiting area borders) as a seperate image.