Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars 101
Forks 7
Total downloads 711,982
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-26
Command

Add-ImageWatermark

Module
ImagePlayground
Inputs
None

Adds a watermark image to another image.

Syntax

Add-ImageWatermark
[-FilePath] <String>
[-FlipMode <Horizontal|Vertical>]
[-Opacity <Single>]
[-OutputPath] <String>
[-Padding <Single>]
[-Placement <TopLeft|TopRight|BottomLeft|BottomRight|Middle>]
[-Rotate <Int32>]
[-Spacing <Int32>]
[-WatermarkPath] <String>
[-WatermarkPercentage <Int32>]
[<CommonParameters>]
#
Parameter set: Placement
Add-ImageWatermark
[-FilePath] <String>
[-FlipMode <Horizontal|Vertical>]
[-Opacity <Single>]
[-OutputPath] <String>
[-Rotate <Int32>]
[-Spacing <Int32>]
[-WatermarkPath] <String>
[-WatermarkPercentage <Int32>]
[-X <Int32>]
[-Y <Int32>]
[<CommonParameters>]
#
Parameter set: Coordinates

Examples

Watermark a photo

Add-ImageWatermark -FilePath photo.png -OutputPath out.png -WatermarkPath logo.png -Placement BottomRight

Parameters

-FilePath String requiredposition: 0
Path to the source image.
-FlipMode FlipMode optional
Flip mode for the image.
Possible values: Horizontal, Vertical
-Opacity Single optional
Opacity of the watermark.
-OutputPath String requiredposition: 1
Destination path for the watermarked image.
-Padding Single optionalsets: Placement
Padding around the watermark.
-Placement WatermarkPlacement optionalsets: Placement
Watermark placement when coordinates are not specified.
Possible values: TopLeft, TopRight, BottomLeft, BottomRight, Middle
-Rotate Int32 optional
Rotation angle in degrees.
-Spacing Int32 optional
Tile watermark across the image with given spacing.
-WatermarkPath String requiredposition: 2
Image used as the watermark.
-WatermarkPercentage Int32 optional
Scale of the watermark relative to the image.
-X Int32 optionalsets: Coordinates
X coordinate for custom placement.
-Y Int32 optionalsets: Coordinates
Y coordinate for custom placement.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.