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

New-ImageMosaic

Module
ImagePlayground
Inputs
System.String

Creates a mosaic image from multiple files.

Syntax

New-ImageMosaic
-Columns <Int32>
[-FilePaths] <String[]>
-Height <Int32>
[-Open]
[-OutputPath] <String>
-Width <Int32>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Create a 2x2 mosaic

New-ImageMosaic -FilePaths img1.png,img2.png,img3.png,img4.png -OutputPath out.png -Columns 2 -Width 100 -Height 100

Parameters

-Columns Int32 required
Number of columns in the mosaic.
-FilePaths String[] requiredposition: 0
Source image paths.
-Height Int32 required
Height of each tile.
-Open SwitchParameter optional
Open the mosaic after creation.
-OutputPath String requiredposition: 1pipeline: True (ByValue)
Output file path.
-Width Int32 required
Width of each tile.

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.