Project

ImagePlayground

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

Stars 100
Forks 7
Total downloads 712,347
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-08-25

API Reference

Command

Set-ImageAdjust

Namespace ImagePlayground
Inputs
System.String

Adjusts image properties.

Remarks

Applies optional brightness, contrast, lightness, opacity, saturation or sepia adjustments.

Examples

Authored help example

Increase brightness and contrast


Set-ImageAdjust -FilePath in.png -OutputPath out.png -Brightness 1.2 -Contrast 1.1
        

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

Set-ImageAdjust [-Brightness <Single>] [-Contrast <Single>] -FilePath <String> [-Lightness <Single>] [-Opacity <Single>] -OutputPath <String> [-Saturation <Single>] [-Sepia <Single>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Brightness Single optionalposition: namedpipeline: False
Brightness adjustment factor.
Contrast Single optionalposition: namedpipeline: False
Contrast adjustment factor.
FilePath String requiredposition: 0pipeline: True (ByValue)
The image must exist.
Lightness Single optionalposition: namedpipeline: False
Lightness adjustment factor.
Opacity Single optionalposition: namedpipeline: False
Opacity adjustment factor.
OutputPath String requiredposition: 1pipeline: False
Supported formats depend on the file extension.
Saturation Single optionalposition: namedpipeline: False
Saturation adjustment factor.
Sepia Single optionalposition: namedpipeline: False
Sepia adjustment factor.