API Reference
Command
Merge-Image
Merges two images and saves the result.
Remarks
Merges two images and saves the result.
Examples
Merge vertically
Merge-Image -FilePath img1.png -FilePathToMerge img2.png -FilePathOutput out.png
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.
Syntax
Merge-Image -FilePath <String> -FilePathOutput <String> -FilePathToMerge <String> [-Placement <Bottom|Right|Top|Left>] [-ResizeToFit] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- FilePath String
- Must exist.
- FilePathOutput String
- Output file path.
- FilePathToMerge String
- Must exist.
- Placement ImagePlacement
- Placement of the second image.
- Possible values:
Bottom,Right,Top,Left - ResizeToFit SwitchParameter
- Resize images to fit before merging.