Project

ImagePlayground

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

Stars 100
Forks 7
Total downloads 712,347
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-08-25

API Reference

Command

ConvertFrom-ImageBase64

Namespace ImagePlayground
Inputs
None

Converts a Base64 encoded string into an image file.

Remarks

Converts a Base64 encoded string into an image file.

Examples

Authored help example

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
        

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.

Syntax

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

Parameters

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