Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
<?php | |
/** | |
* Writes the given text with a border into the image using TrueType fonts. | |
* @author John Ciacia | |
* @param image An image resource | |
* @param size The font size | |
* @param angle The angle in degrees to rotate the text | |
* @param x Upper left corner of the text | |
* @param y Lower left corner of the text | |
* @param textcolor This is the color of the main text |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
<?php | |
namespace Utils; | |
class ImageTextRenderUtils { | |
/** | |
* Returns expected width of rendered text in pixels |