You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.
Any file with exact 4:5 ratio won't be uploaded because its aspect ratio is 0.7998 instead of 0.8. This is clearly a rounding issue, any of those pictures can be uploaded without issues on the phone.
Log
FOUND: w:1638 h:2048 r:0.7998046875
2020-04-09 22:34:40,710 - ERROR - Photo does not have a compatible photo aspect ratio.
2020-04-09 22:34:40,711 - INFO - Photo 'pics\IMG_4290.jpg' is not uploaded.
2020-04-09 22:34:40,713 - INFO - Succesfully uploaded: pics\IMG_4290.jpg
2020-04-09 22:34:40,716 - INFO - Total requests: 11
To Reproduce
Simply try uploading an image with exactly 4:5 ratio.
Expected behavior
Upload the image (or maybe even crop if necessary?)
Additional context
Version
Python version (python -v):
Operating Systeem: Win/Linux/MacOS
The text was updated successfully, but these errors were encountered:
Example file
Describe the bug
Any file with exact 4:5 ratio won't be uploaded because its aspect ratio is 0.7998 instead of 0.8. This is clearly a rounding issue, any of those pictures can be uploaded without issues on the phone.
Log
To Reproduce
Simply try uploading an image with exactly 4:5 ratio.
Expected behavior
Upload the image (or maybe even crop if necessary?)
Additional context
Version
Python version (
python -v
):Operating Systeem: Win/Linux/MacOS
The text was updated successfully, but these errors were encountered: