create-watermark
Add watermarks or logos to images by specifying URL, size, opacity, and position. Generate a watermarked image URL or save directly to a file for easy use.
Instructions
Add watermarks/logos to images using QuickChart - get watermarked image URL or save watermarked image to file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Whether to get watermarked image URL or save as file | |
imageHeight | No | Main image height in pixels | |
imageWidth | No | Main image width in pixels | |
mainImageUrl | Yes | URL of the main image to watermark | |
margin | No | Margin from edges in pixels | |
markHeight | No | Watermark height in pixels | |
markImageUrl | Yes | URL of the watermark/logo image | |
markRatio | No | Watermark size ratio relative to main image | |
markWidth | No | Watermark width in pixels | |
opacity | No | Watermark opacity (0.0 to 1.0) | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
position | No | Watermark position | |
positionX | No | Custom X position in pixels | |
positionY | No | Custom Y position in pixels |