Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars 101
Forks 7
Total downloads 711,982
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-26
Command

ConvertFrom-ImageBase64

Module
ImagePlayground
Inputs
None

Converts a Base64 encoded string into an image file.

Syntax

ConvertFrom-ImageBase64
[-Base64] <String>
[-Open]
[-OutputPath] <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Save the Base64 content to a PNG file

ConvertFrom-ImageBase64 -Base64 $content -OutputPath out.png

Decode and open the image

ConvertFrom-ImageBase64 -Base64 $content -OutputPath out.png -Open

Parameters

-Base64 String requiredposition: 0
Base64 encoded image data.
-Open SwitchParameter optional
Open the newly created file after saving.
-OutputPath String requiredposition: 1
Path where the image will be written.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.