mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-29 02:03:25 +03:00
Fixed typo
This commit is contained in:
parent
7d6f4104a1
commit
f59b708f3a
|
@ -41,7 +41,7 @@ def grab(bbox=None):
|
||||||
size, data = grabber()
|
size, data = grabber()
|
||||||
im = Image.frombytes(
|
im = Image.frombytes(
|
||||||
"RGB", size, data,
|
"RGB", size, data,
|
||||||
# RGB, 32-bit line padding, origo in lower left corner
|
# RGB, 32-bit line padding, origin lower left corner
|
||||||
"raw", "BGR", (size[0]*3 + 3) & -4, -1
|
"raw", "BGR", (size[0]*3 + 3) & -4, -1
|
||||||
)
|
)
|
||||||
if bbox:
|
if bbox:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user