# New-ImageQRCode

Generates a QR code image from plain text content.

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**

`System.String`

Generates a QR code image from plain text content.

## Syntax

```
New-ImageQRCode
[-BackgroundColor <Color>]
[-Content] <String>
[-FilePath] <String>
[-ForegroundColor <Color>]
[-LogoPath <String>]
[-PixelSize <Int32>]
[-Show]
[-Transparent]
[<CommonParameters>]
```

[#](#method-new-imageqrcode-color-string-string-color-string-int32-switchparameter-switchparameter)

Parameter set: `All Parameter Sets`

## Description

Use this cmdlet when the QR payload is already available as a raw string.

## Guides & Samples

Authored walkthroughs and practical samples linked to this command.

- [Choose an ImagePlayground workflow](/projects/imageplayground/docs/workflows/) Guide
  
  Choose between image processing, codes, metadata, charts, topology, and visual-story workflows.

## Examples

### Create QR code

```powershell
New-ImageQRCode -Content 'https://evotec.xyz' -FilePath qr.png
```

### Show QR code after generation

```powershell
New-ImageQRCode -Content 'text' -FilePath qr.png -Show
```

### Create branded QR code

```powershell
New-ImageQRCode -Content 'https://evotec.xyz' -FilePath qr-logo.png -LogoPath logo.png
```

## Parameters

**-BackgroundColor Color optional**

Background color of the QR code.

**-Content String requiredposition: 0**

Content encoded in the QR code.

**-FilePath String requiredposition: 1pipeline: True (ByValue)**

The image format is inferred from the file extension.

**-ForegroundColor Color optional**

Foreground color of QR modules.

**-LogoPath String optional**

Optional logo image to place at the center of the QR code.

**-PixelSize Int32 optional**

Pixel size for each QR module.

**-Show SwitchParameter optional**

Open the image after creation.

**-Transparent SwitchParameter optional**

Create the QR code with a transparent background.

## 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:116B95290A5C3D80C74624C0557AE0BE69F6ADE615641D09A0983A92E9BBFD61 -->
