Skip to content

Fix for bad scrops arguments#54

Merged
davidfischer-ch merged 8 commits intosmartcrop:masterfrom
derVedro:fix-50
Mar 1, 2026
Merged

Fix for bad scrops arguments#54
davidfischer-ch merged 8 commits intosmartcrop:masterfrom
derVedro:fix-50

Conversation

@derVedro
Copy link
Contributor

That should close #50, I also refactored a little the loops and added a guard against duplicate crop candidates due to float-to-integer truncation of crop_width * scale and such.

@derVedro derVedro marked this pull request as draft February 23, 2026 02:31
@derVedro derVedro marked this pull request as ready for review February 25, 2026 01:35
@derVedro
Copy link
Contributor Author

done some tests to keep coverage
coveralls.io is down

sadcookie

@derVedro derVedro mentioned this pull request Mar 1, 2026
@davidfischer-ch davidfischer-ch merged commit a47d3da into smartcrop:master Mar 1, 2026
3 of 6 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.

[Potential Bug] Issues with arguments validation and scale range calculation in crops method

2 participants