Command
Merge-Image
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 SetsExamples
Merge vertically
Merge-Image -FilePath img1.png -FilePathToMerge img2.png -FilePathOutput out.pngParameters
- -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.
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.