Skip to content

Repository files navigation

PowerShell Module to Resize Image

PowerShell Gallery

Installation

Copy and Paste the following command to install this package using PowerShellGet

Install-Module-Name ResizeImageModule

Functions

Resize-Image

  • Parameters
    • InputFile [string]
    • OutputFile [string]
    • Width [int32]
    • Height [int32]
    • (optional) ProportionalResize [bool] (Default $true)

Resize-ImagesInFolder

  • Parameters
    • Width [int32]
    • Height [int32]
    • (optional) FolderPath [string]
    • (optional) ProportionalResize [bool] (Default $true)

Samples

Resize-Image-InputFile "C:/image.png"-OutputFile "C:/image2.png"-Width 300-Height 300
Resize-ImagesInFolder-Width 300-Height 300-ProportionalResize $false

About

PowerShell Module to Resize Image

Resources

Stars

6 stars

Watchers

3 watching

Forks

Used by

Contributors

Languages