style

Breadcrumb

 

Introduction

File & Image Uploader Pro has the capability to embed text into the image prior upload and allows you to control the color, size and position of the text.

In order to achieve this, the following parameters need to be set under the watermarking parameters section:

  • font: specifies the text style to use when drawing text. This string uses the same syntax as the CSS font specifier.
  • fontColor: specifies the color, gradient, or pattern to use inside shapes. The default style is #000 (black).
  • positionX: the x-axis coordinate of the point at which to begin drawing the text, in pixels.
  • positionY: the y-axis coordinate of the point at which to begin drawing the text, in pixels.
  • text: the string to be embedded
 

Parameter Example

The following JSON snippet in the transformation parameter attribute, will result in a watermarked copy of the image being uploaded.

{"font": "22px Arial", "fontColor": "#DEDEDE", "positionX": 25, "positionY": 40, "text": "File & Image Uploader Pro Watermark"}
 

Try it

Watermarking Image

Verify