# ConvertFrom-ImageBase64

Converts a Base64 encoded string into an image file.

Project

ImagePlayground

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

[View on GitHub](https://github.com/EvotecIT/ImagePlayground) [Visit Website](#) [Releases](https://github.com/EvotecIT/ImagePlayground/releases) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/ImagePlayground)

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**Module**

`ImagePlayground`

**Inputs**

`None`

Converts a Base64 encoded string into an image file.

## Syntax

```
ConvertFrom-ImageBase64
[-Base64] <String>
[-Open]
[-OutputPath] <String>
[<CommonParameters>]
```

[#](#method-convertfrom-imagebase64-string-switchparameter-string)

Parameter set: `All Parameter Sets`

## Examples

### Save the Base64 content to a PNG file

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

### Decode and open the image

```powershell
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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:5879127E9814684A7147F359B41FDB9D4CA70D147FF3402DF53C5573E0A0CA81 -->
