Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #622 address ZeroDivisionError in scale_and_crop. #623

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

gonzalodelgado
Copy link
Contributor

Set X or Y scale to 1.0 when corresponding source size is 0.

Set X or Y scale to 1.0 when corresponding source size is 0.
@gonzalodelgado
Copy link
Contributor Author

I updated this pull request just now by adding tests to ScaleAndCropTest in test_svg_processor.py that reproduce #622 . Please review.

@jrief jrief merged commit 4bdef07 into SmileyChris:master Sep 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants