Skip to content

Commit

Permalink
fixed typing issue for resize
Browse files Browse the repository at this point in the history
  • Loading branch information
shahriyardx committed Sep 25, 2024
1 parent 49f0fc3 commit d09e4f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easy_pil/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ def image_bytes(self) -> BytesIO:
def close(self):
self.image.close()

def resize(self, size: Tuple[float, float], crop=False) -> Editor:
def resize(self, size: Tuple[int, int], crop=False) -> Editor:
"""Resize image
Parameters
----------
size : Tuple[float, float]
size : Tuple[int, int]
New Size of image
crop : bool, optional
Crop the image to bypass distortion, by default False
Expand Down

0 comments on commit d09e4f4

Please sign in to comment.