imforge.cut module¶
-
imforge.cut.
cut_out
(image, *polygons, fillcolor=None)¶ Cut out the areas delimited by given list of polygons: i.e. fill image pixels outside of given polygons with the given fill color.
- Parameters
image (PIL.Image.Image) – the image to cut out
fillcolor – he color to use for filling area outside of polygons