< Back

Set-PIPContrast

Sat Jan 18, 2020 6:51 pm

NAME Set-PIPContrast



SYNOPSIS

Changes the contrast of the current image.





SYNTAX

Set-PIPContrast [-InputObject] <ImageFactory> [-Percentage] <Int32> [<CommonParameters>]





DESCRIPTION

Changes the contrast of the current image.





PARAMETERS

-InputObject <ImageFactory>

Specifies the objects to send down the pipeline. Enter a variable that contains the objects, or type a command

or

expression that gets the objects.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Percentage <Int32>

The percentage by which to alter the images contrast. Any integer between 0 and 100.



Required? true

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

ImageProcessor.ImageFactory





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-ImageStream Capture.png | Invoke-PIPContrast -Percentage 50















RELATED LINKS