< Back

Set-PIPQuality

Sat Jan 18, 2020 6:51 pm

NAME Set-PIPQuality



SYNOPSIS

Alters the output quality of the current image.





SYNTAX

Set-PIPQuality [-InputObject] <ImageFactory> [-Quality] <Int32> [<CommonParameters>]





DESCRIPTION

Alters the output quality of the current image. This method will only effect the output quality of jpeg images.





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



-Quality <Int32>

The percentage by which to alter the images quality. 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 | Set-PIPImageFormat -Format Jpeg | Set-PIPQuality -Quality 70















RELATED LINKS