Skip to content

Commit

Permalink
Merge pull request #198 from Lucs1590/pillow-change
Browse files Browse the repository at this point in the history
pillow version
  • Loading branch information
Lucs1590 authored Oct 6, 2023
2 parents b9a9f90 + c4f845c commit 609c3b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies:
- numpy==1.21.2
- opencv-contrib-python==4.5.3.56
- packaging==21.0
- pillow==8.3.2
- pillow==10.0.1
- pluggy==1.0.0
- py==1.10.0
- pyparsing==2.4.7
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ tesseract==0.1.3
pytesseract==0.3.10
requests==2.31.0
wheel==0.41.2
pillow==9.5.0
pillow==10.0.1
numpy==1.26.0
opencv-contrib-python>=4.*
scikit-learn==1.3.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def read(file_name):
'pytesseract==0.3.10',
'requests==2.28.2',
'wheel==0.38.4',
'pillow==9.4.0',
'pillow==10.0.1',
'numpy==1.24.1',
'opencv-contrib-python>=4.*',
'scikit-learn==1.2.1',
Expand Down
2 changes: 1 addition & 1 deletion src/auxiliary.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def set_image_dpi(image: np.ndarray, dpi: int) -> np.ndarray:
factor = min(1, float(1024.0 / length_x))

size = int(factor * length_x), int(factor * width_y)
im_resized = image.resize(size, Image.ANTIALIAS)
im_resized = image.resize(size)
temp_file = tempfile.NamedTemporaryFile(suffix='.png')
temp_file = temp_file.name

Expand Down

0 comments on commit 609c3b7

Please sign in to comment.