Copy and Paste the following command to install this package using PowerShellGet
Install-Module -Name ResizeImageModule
- Parameters
- InputFile [string]
- OutputFile [string]
- Width [int32]
- Height [int32]
- (optional) ProportionalResize [bool] (Default $true)
- Parameters
- Width [int32]
- Height [int32]
- (optional) FolderPath [string]
- (optional) ProportionalResize [bool] (Default $true)
Resize-Image -InputFile "C:/image.png" -OutputFile "C:/image2.png" -Width 300 -Height 300
Resize-ImagesInFolder -Width 300 -Height 300 -ProportionalResize $false