Deploy the Watermark image function on your processing stack in no time. Koyeb functions are pre-configured processing application to analyze, transform and optimize your data.
Compose processing workflows with ready to use integrations and your own code if needed. Build your business logic with our SDKs in Golang, Node.js, and Python or using Docker images.
Koyeb's all-in-one platform is backed by a highly available infrastructure. Build advanced operation pipelines for your data with zero server maintenance.
The watermark image function allows you to add a watermark to your images. You choose the watermark image URL to use, the position, the size ratio, and margin to use. The result is an image containing your watermark.
With Koyeb, you can watermark all of your images in a few seconds. Additional benefits:
To get started with the watermark image function, you have to copy the configuration snippet below and replace the required values with yours. This function is triggered each time a new image is uploaded to the Store.
Below is what you need to use this function:
Seconds to deploy
Additional information to get started with the Watermark image integration.
STORE— The store to watch to trigger the function and save the generated watermark image.Default value: - Required: Yes
WATERMARK_IMAGE_URL— The url of the image to use as a watermarkDefault value: - Required: Yes
WATERMARK_IMAGE_LOGO_WIDTH— The size in percentage of the watermark image compare to the source image.Default value: 10 - Required: No
WATERMARK_IMAGE_LOGO_MARGIN— The margin apply to the watermark image.Default value: 5 - Required: No
WATERMARK_IMAGE_PATH— The path to store the watermark image.Default value: watermark-images/ - Required: No
WATERMARK_IMAGE_LOGO_POSITION— The position of the watermark image.Default value: bottom-right - Required: No
WATERMARK_IMAGE_FORMAT— The format of the watermark image generated.Default value: jpeg - Required: No