Learn Before
Concept

Cropping Images (Pillow)

Cropping images requires a tuple containing the bounds of the pixels to crop. The tuple takes two sets of coordinates that define the boundaries.

boundaries = (x1, y1, x2, y2) region = image.crop(boundaries)

0

1

Updated 2021-07-11

Contributors are:

Who are from:

Tags

Python Programming Language

Data Science