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

New-ImageQRCode

Namespace ImagePlayground
Inputs
System.String

Generates a QR code image from plain text content.

Remarks

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

Examples

Authored help example

Create QR code

PS>


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

Show QR code after generation

PS>


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

Create branded QR code

PS>


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

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

New-ImageQRCode [-BackgroundColor <Color>] -Content <String> -FilePath <String> [-ForegroundColor <Color>] [-LogoPath <String>] [-PixelSize <Int32>] [-Show] [-Transparent] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

BackgroundColor Color optionalposition: namedpipeline: False
Background color of the QR code.
Content String requiredposition: 0pipeline: False
Content encoded in the QR code.
FilePath String requiredposition: 1pipeline: True (ByValue)
The image format is inferred from the file extension.
ForegroundColor Color optionalposition: namedpipeline: False
Foreground color of QR modules.
LogoPath String optionalposition: namedpipeline: False
Optional logo image to place at the center of the QR code.
PixelSize Int32 optionalposition: namedpipeline: False
Pixel size for each QR module.
Show SwitchParameter optionalposition: namedpipeline: False
Open the image after creation.
Transparent SwitchParameter optionalposition: namedpipeline: False
Create the QR code with a transparent background.