-
-
Notifications
You must be signed in to change notification settings - Fork 7
New Image
apobekiaris edited this page Sep 4, 2020
·
1 revision
Creates a new image file.
New-Image [-Width] <Int32> [-Height] <Int32> [[-Color] <Color>] [[-ImageFormat] <ImageFormat>]
[[-OutputBaseName] <String>] [[-OutputDirectory] <String>] [<CommonParameters>]
Creates a new image file.
PS C:\> new-image 800 600
Directory: C:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 9/4/2020 12:33 PM 3206 image.Png
Creates a new png (800x600) file in path.
{{ Fill Color Description }}
Type: Color
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Height Description }}
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ImageFormat Description }}
Type: ImageFormat
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill OutputBaseName Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill OutputDirectory Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Width Description }}
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.