An open API service indexing awesome lists of open source software.

https://github.com/cdhunt/pip

PowerShell ImageProcessor
https://github.com/cdhunt/pip

Last synced: about 1 year ago
JSON representation

PowerShell ImageProcessor

Awesome Lists containing this project

README

          

PIP
===

### PowerShell ImageProcessor

This PowerShell module wraps [James M South's ImageProcessor](http://jimbobsquarepants.github.io/ImageProcessor/ "ImageProcessor") library.

> ImageProcessor is a collection of lightweight libraries written in C# that allows you to manipulate images on-the-fly using .NET 4+
>
> It's lighting fast, extensible, easy to use, comes bundled with some great features and is fully open source.

This is not the first image manipulation module for PowerShell, but it's fast, functional and a good example of how to expose functionality from a .Net library via PowerShell.

Install
===

With the [PowerShellGet](https://www.powershellgallery.com/) module:

```powershell
Install-Module -Name PIP
```

Examples
===

```powershell
Get-PIPImage source.bmp |
Resize-PIPImage -Width 100 -Height 100 |
Add-PIPFilter -Filter blackwhite |
Add-PIPRoundedCorners |
Set-PIPFormat -Format Jpeg |
Save-PIPImage -Path output.jpg
```