Text Label Filter
label(text, x, y, size, color[, alpha[, font]])
Adds a text label to the image. It can be positioned inside the image with the alignment specified, color and transparency support:
texttext label, also support url encoded text.xhorizontal position that the text label will be in:- Positive number indicate position from the left, negative number from the right.
- Number followed by a
pe.g. 20p means calculating the value from the image width as percentage left,right,centeralign left, right or centered respectively
yvertical position that the text label will be in:- Positive number indicate position from the top, negative number from the bottom.
- Number followed by a
pe.g. 20p means calculating the value from the image height as percentage top,bottom,centervertical align top, bottom or centered respectively
size- text label font sizecolor- color name or hexadecimal rgb expression without the “#” characteralpha- text label transparency, a number between 0 (fully opaque) and 100 (fully transparent).font- text label font type
What's Changed
- feat(vips): vips load from source alias by @cshum in #130
- feat(imagor): improve process response concurrency by @cshum in #132
- build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0 by @dependabot in #135
- build(deps): bump github.com/aws/aws-sdk-go from 1.44.70 to 1.44.76 by @dependabot in #134
- feat(vips): text label filter by @cshum in #139
Full Changelog: v1.0.1...v1.0.2