Skip to content

PowerShell Module to Resize Image

License

Notifications You must be signed in to change notification settings

RonildoSouza/ResizeImageModulePS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks