Skip to content

New feature: textAligned#24

Open
avgeeklucky wants to merge 17 commits intokosinix:developfrom
avgeeklucky:master
Open

New feature: textAligned#24
avgeeklucky wants to merge 17 commits intokosinix:developfrom
avgeeklucky:master

Conversation

@avgeeklucky
Copy link
Copy Markdown

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