mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 09:45:50 +03:00
Labels
No labels
Docs
Docs
Docs
Security
UnitTest
bug
dependencies
duplicate
enhancement
enhancement
enhancement
hacktoberfest
help wanted
invalid
pull-request
question
stale
version 1
version 2
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flyimg#995
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/flyimg/flyimg/pull/298
Author: @sadok-f
Created: 1/1/2021
Status: ✅ Merged
Merged: 1/2/2021
Merged by: @sadok-f
Base:
main← Head:issue#129📝 Commits (10+)
54b8ab0Implement Smart Croppiing feature, fixes #12981ca53aFixing linting499a8b7Fixing linting errorsc477c0bFixing linting and unit tests errors576b401Fixing python linting errorsa971e37Add Unit tests for Smart Cropping featurea6cf35bAdd pillow installation in Dockerfile95bdc40Update docs, smart crop logicdcd95c2Update docs for smart cropfd0d559Update docs for smart crop📊 Changes
12 files changed (+506 additions, -3 deletions)
View changed files
📝
Dockerfile(+1 -0)📝
README.md(+31 -3)📝
config/parameters.yml(+2 -0)➕
python/smartcrop.py(+381 -0)📝
src/Core/Handler/ImageHandler.php(+22 -0)📝
src/Core/Processor/Processor.php(+3 -0)➕
src/Core/Processor/SmartCropProcessor.php(+37 -0)📝
tests/Core/BaseTest.php(+3 -0)📝
tests/Core/Entity/Image/OutputImageTest.php(+1 -0)➕
tests/Core/Processor/SmartCropProcessorTest.php(+25 -0)➕
tests/testImages/smart_crop.jpg(+0 -0)➕
tests/testImages/smart_crop_restult.jpg(+0 -0)📄 Description
A very wanted feature: Smart Cropping.
I added a python script to determine to best coordinates for cropping.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.