< Back
Set-PIPImageFormat
Post
NAME Set-PIPImageFormat
SYNOPSIS
Sets the output format of the current image
SYNTAX
Set-PIPImageFormat [-InputObject] <ImageFactory> [-Format] <String> [<CommonParameters>]
DESCRIPTION
Sets the output format of the current image to the matching System.Drawing.Imaging.ImageFormat
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
-Format <String>
The System.Drawing.Imaging.ImageFormat to set the image to.
Required? true
Position? 2
Default value
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
RELATED LINKS
SYNOPSIS
Sets the output format of the current image
SYNTAX
Set-PIPImageFormat [-InputObject] <ImageFactory> [-Format] <String> [<CommonParameters>]
DESCRIPTION
Sets the output format of the current image to the matching System.Drawing.Imaging.ImageFormat
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
-Format <String>
The System.Drawing.Imaging.ImageFormat to set the image to.
Required? true
Position? 2
Default value
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
RELATED LINKS