jenssegers / jenssegers/codeigniter-advanced-images
Center of Image Cropping
- Dominant language
- PHP
- Stars
- 180
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I dont understand how works the overwriting of the center of the crop. Where it can be modified ( outside the lib itself where I tested it ) and why it is mentionned as below : set the X coodinate AFTER cropping ?!!
After cropping the image dimensions are as requested so the center should not be changed ?!
When I test it, I got black portions in my pic...
Thanks for your help,
FX
x_axis: Sets the X coordinate in pixels (after resizing) for image cropping. For example, a setting of 30 will crop an image 30 pixels from the left.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the image-cropping implementation in the library and compare it with the issue's x_axis description, especially the phrase “after resizing.” Reproduce the reported black portions and determine how the crop center and X coordinate are applied. Done means the behavior is explained and the cropping result matches the requested dimensions without unexpected black areas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100