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

Namespace ImagePlayground
Inputs
System.String

Generates a QR code that opens an email draft.

Remarks

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

Examples

Authored help example

Create a basic email QR code

PS>


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

PS>


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.

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

Parameters

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