# New-ImageMosaic

Creates a mosaic image from multiple files. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground API Reference.

Project

ImagePlayground

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

[View on GitHub](https://github.com/EvotecIT/ImagePlayground) [Visit Website](#) [Releases](https://github.com/EvotecIT/ImagePlayground/releases) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/ImagePlayground)

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**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>]
```

[#](#method-new-imagemosaic-int32-string-int32-switchparameter-string-int32)

Parameter set: `All Parameter Sets`

## Examples

### Create a 2x2 mosaic

```powershell
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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:2DC7223B6CCFA88A0102DEAF519EC3DD26AF9821694CFF48FE5BFD7AAD7ED390 -->
