Someone Tweeted recently that they were looking for a tool to convert one graphic format to another. In looking for another script in @github today I found this one I wrote which does it for a few formats. Very simple, uses .NET System.Drawing.Bitmap class github.com/guyrleech/Micr…
1
2
4
0
1
Download Image
Just noticed in the $formatToExtension hashtable (dictionary) that it has "smart" quotes around the keys (probably copied and pasted from a web page) but it doesn't cause the script problems, unlike in some languages/scripting tools. #PowerShellIsForgiving
@guyrleech It's not only in the $formatToExtention but also in the validation set of the parameters
@Logitblog And yet the mighty PowerShell doesn't skip a beat despite my incompetence 😃