A PowerShell module to resize image files

This function uses the native .NET API to resize an image file, and optionally save it to a file or display it on the screen. You can specify a scale or a new resolution for the new image. It can be used interactively or as part of a script to resize images.

It supports the following image formats: BMP, GIF, JPEG, PNG, TIFF



Import-Module .\Resize-Image.psm1 
Resize-Image -InputFile .\kitten.jpg -OutputFile .\kitten2.jpg -Scale 40 
Resize-Image -InputFile .\kitten.jpg -Width 400 -Height 200 -Display