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

Merge-Image

Module
ImagePlayground
Inputs
System.String

Merges two images and saves the result.

Syntax

Merge-Image
[-FilePath] <String>
[-FilePathOutput] <String>
[-FilePathToMerge] <String>
[-Placement <Bottom|Right|Top|Left>]
[-ResizeToFit]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Merge vertically

Merge-Image -FilePath img1.png -FilePathToMerge img2.png -FilePathOutput out.png

Parameters

-FilePath String requiredposition: 0pipeline: True (ByValue)
Must exist.
-FilePathOutput String requiredposition: 2
Output file path.
-FilePathToMerge String requiredposition: 1
Must exist.
-Placement ImagePlacement optional
Placement of the second image.
Possible values: Bottom, Right, Top, Left
-ResizeToFit SwitchParameter optional
Resize images to fit before merging.

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.