Skip to content

Latest commit

 

History

History
171 lines (134 loc) · 3.26 KB

Set-ImageAdjust.md

File metadata and controls

171 lines (134 loc) · 3.26 KB
external help file ImagePlayground-help.xml
Module Name ImagePlayground
online version https://github.com/EvotecIT/ImagePlayground
schema 2.0.0

Set-ImageAdjust

SYNOPSIS

Adjusts image properties.

SYNTAX

__AllParameterSets

Set-ImageAdjust [-FilePath] <string> [-OutputPath] <string> [-Brightness <Single>] [-Contrast <Single>] [-Lightness <Single>] [-Opacity <Single>] [-Saturation <Single>] [-Sepia <Single>] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

EXAMPLE 1

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

PARAMETERS

-Brightness

Brightness adjustment factor.

Type: Single
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Contrast

Contrast adjustment factor.

Type: Single
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FilePath

The image must exist.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Lightness

Lightness adjustment factor.

Type: Single
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Opacity

Opacity adjustment factor.

Type: Single
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OutputPath

Supported formats depend on the file extension.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Saturation

Saturation adjustment factor.

Type: Single
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Sepia

Sepia adjustment factor.

Type: Single
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

  • System.String

OUTPUTS

  • None

RELATED LINKS

  • None