Created
May 19, 2017 10:08
-
-
Save wim-beck/d4356201a4dae10e5aac076f0b4be34c to your computer and use it in GitHub Desktop.
Convert base64 to picture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param($textImg, $destinationImg) | |
$base64 = Get-Content $textImg | |
$bytes = [Convert]::FromBase64String($base64) | |
[IO.File]::WriteAllBytes($destinationImg, $bytes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment