Overview
The 'Add Image Watermark to Image' action adds the specified image to the image provided.
Example Flow
Please refer to the following article showcasing how to 'How to proportionally watermark an image with Power Automate'
Credit Count
This action consumes 1 credit per operation.
Note, different Encodian actions can consume different number credits. Please always check the action specific documentation and read What is an Encodian Action for a full description of how credits are consumed.
Parameters
The default 'Add Image Watermark to Image' flow action parameters are detailed below:
- Filename: The filename (including file extension) of the source image file.
- File Content: A Base64 encoded representation of the source image file.
- Watermark Filename: The filename (including file extension) of the watermark image file.
- Watermark File Content: A Base64 encoded representation of the watermark image file.
- Watermark Position: Position of the watermark on the image
Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action.
Advanced Parameters
The advanced 'Add Image Watermark to Image' action parameters are detailed below:
- Y Offset: Set the vertical watermark offset in pixels, starting from the top of the image. This setting will only apply when the 'Watermark Position' property is set to 'Custom'
- X Offset: Set the horizontal watermark offset in pixels, starting from the left of the image. This setting will only apply when the 'Watermark Position' property is set to 'Custom'
- Rotation Angle: Set the rotation angle of the image watermark in degrees
- Opacity: The opacity of the image watermark, valid values range from 0.0+ to 1.0, the default value is 0.7
Return Parameters
The 'Add Image Watermark to Image' flow action returns the following data.
Action Specific Return Values
- File Content - The processed image
Standard Return Values
- OperationId - The unique ID assigned to this operation.
- HttpStatusCode - The HTTP Status code for the response.
- HttpStatusMessage - The HTTP Status message for the response.
- Errors - An array of error messages should an error occur.
- Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
0 Comments