Learn Before
Concept

ImagePath Class (Pillow)

The ImagePath class stores and manipulates 2-dimensional vectors that correspond to image coordinates. A path object can either be a sequence of 2-tuples or a sequence numeric values. Path objects can be passed to methods in the ImageDraw class. The ImagePath class also contains a number of functions to modify the path itself, such as the comoact() function to remove points that are close together, or the tolist() function to convert the path to a python list.

0

1

Updated 2021-08-29

Contributors are:

Who are from:

Tags

Python Programming Language

Data Science