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

New feature: textAligned #24

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open

Conversation

avgeeklucky
Copy link

Implemented in both GD and Imagick. Will place text on any combination of left, center, right horizontally and top, middle, bottom vertically. Rotation is supported. Calculations are made to ensure no text is clipped outside of the Image.

Also:

  • php requirement in composer.json to 7.3 as this is the currently supported
  • Added phpunit/phpunit and symfony/var-dumper in composer dev requirements

I've spent a lot longer getting the maths to work for this than I was expecting. I really hope this can be merged, but with no commits in 3 years on this repository 🙏

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.

1 participant