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

New-ImageQRCodeEmail

Module
ImagePlayground
Inputs
System.String

Generates a QR code that opens an email draft.

Syntax

New-ImageQRCodeEmail
[-BackgroundColor <Color>]
[-Email] <String>
[-FilePath] <String>
[-ForegroundColor <Color>]
[[-Message] <String>]
[-PixelSize <Int32>]
[-Show]
[[-Subject] <String>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Use this cmdlet to create scannable mailto-style QR codes for support, sales, or campaign responses.

Examples

Create a basic email QR code

New-ImageQRCodeEmail -Email 'user@example.com' -Subject 'Hello' -Message 'Body' -FilePath qr.png

Creates a QR code that opens the default mail client with recipient, subject, and body prefilled.

Create a support-contact QR code

New-ImageQRCodeEmail -Email 'support@evotec.pl' -Subject 'Support Request' -Message 'Please describe the issue before sending.' -FilePath support-mail.png -ForegroundColor DarkSlateBlue -PixelSize 14 -Show

Generates a support-oriented email QR code and opens the image after creation.

Parameters

-BackgroundColor Color optional
Background color of the QR code.
-Email String requiredposition: 0
Recipient email address.
-FilePath String requiredposition: 3pipeline: True (ByValue)
The image format is inferred from the file extension.
-ForegroundColor Color optional
Foreground color of QR modules.
-Message String optionalposition: 2
Message body.
-PixelSize Int32 optional
Pixel size for each QR module.
-Show SwitchParameter optional
Open the image after creation.
-Subject String optionalposition: 1
Message subject.

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.