denis_pm/image-signer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

denis_pm/image-signer

Composer 安装命令:

composer require denis_pm/image-signer

包简介

Helps to center single-line and multi-line text for drawing on images relative to the center of the text. Contains different fonts and colors.

README 文档

README

The convenient way for printing some text to an image.

Helps to center single-line and multi-line text for drawing on images relative to the center of the text. Enables correct hyphenation for a multi-line text block that does not exceed the set width of the text block and the line spacing setting.

Contains several ready fonts and colors.

Main methods

addString() - add single-line
addStringBlock() - add multi-line
addColumnsStringBlock() - for separate multi-line text by n amount of columns

Usefully for counting a text position

getXSize() - horizontal image size
getYSize() - vertical image size

Result

getBase64() - inserting base64 image
show() - print the ready image

addStringBlock and addColumnsStringBlock can use multi-line string or string array for a $stringBlock parameter.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2022-09-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固