Skip to content

Commit 742d6b4

Browse files
committed
default width and height should be (240, 80)
1 parent 15afd50 commit 742d6b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wpodnet/backend.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ def annotate(
5656
drawer.polygon(self.bounds, fill=fill, outline=outline, width=width)
5757

5858
def warp(
59-
self, canvas: Image.Image, width: int = 208, height: int = 60
59+
self, canvas: Image.Image, width: int = 240, height: int = 80
6060
) -> Image.Image: # pragma: no cover
6161
"""
6262
Warps the image with perspective based on the bounding polygon.
6363
6464
Args:
6565
canvas (PIL.Image.Image): The image to be warped.
66-
width (int): The width of the output warped image. Defaults to 208.
67-
height (int): The height of the output warped image. Defaults to 60.
66+
width (int): The width of the output warped image. Defaults to 240.
67+
height (int): The height of the output warped image. Defaults to 80.
6868
6969
Returns:
7070
PIL.Image.Image: The warped image.

0 commit comments

Comments
 (0)