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

Get-Image

Module
ImagePlayground
Inputs
System.String

Loads an image from disk.

Syntax

Get-Image
[-FilePath] <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Returns a SixLabors.ImageSharp.Image object for further processing.

Examples

Read an image

$img = Get-Image -FilePath sample.png

Check dimensions

(Get-Image -FilePath sample.png).Width

Parameters

-FilePath String requiredposition: 0pipeline: True (ByValue)
The file must exist.

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.