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

Namespace ImagePlayground
Inputs
System.String

Generates a QR code image containing the provided contact details.

Remarks

Generates a QR code image containing the provided contact details.

Examples

Authored help example

Create a vCard QR code

PS>


New-ImageQRContact -FilePath contact.png -Firstname John -Lastname Doe -Phone 123456789
        

Creates a simple contact QR code that can be scanned into a phone address book.

Create a richer business contact QR code

PS>


New-ImageQRContact -FilePath consultant.png -OutputType VCard4 -Firstname John -Lastname Doe -Email john.doe@evotec.pl -MobilePhone '+48 500 600 700' -Org Evotec -OrgTitle Consultant -Street Example -HouseNumber 15A -City Warsaw -ZipCode '00-001' -Country Poland -Website 'https://evotec.pl'
        

Generates a business card style QR code with address, organization, and contact metadata.

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-ImageQRContact [-AddressOrder <Default|Reversed>] [-BackgroundColor <Color>] [-Birthday <DateTime>] [-City <String>] [-Country <String>] [-Email <String>] -FilePath <String> [-Firstname <String>] [-ForegroundColor <Color>] [-HouseNumber <String>] [-Lastname <String>] [-MobilePhone <String>] [-Nickname <String>] [-Note <String>] [-Org <String>] [-OrgTitle <String>] [-OutputType <MeCard|VCard21|VCard3|VCard4>] [-Phone <String>] [-PixelSize <Int32>] [-Show] [-StateRegion <String>] [-Street <String>] [-Website <String>] [-WorkPhone <String>] [-ZipCode <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

AddressOrder QrContactAddressOrder optionalposition: namedpipeline: Falsevalues: 2
Order of address fields in the QR code.
Possible values: Default, Reversed
BackgroundColor Color optionalposition: namedpipeline: False
Background color of the QR code.
Birthday DateTime optionalposition: namedpipeline: False
Birthday date.
City String optionalposition: namedpipeline: False
City name.
Country String optionalposition: namedpipeline: False
Country name.
Email String optionalposition: namedpipeline: False
Email address.
FilePath String requiredposition: 0pipeline: True (ByValue)
The image format is inferred from the file extension.
Firstname String optionalposition: namedpipeline: False
Given name of the contact.
ForegroundColor Color optionalposition: namedpipeline: False
Foreground color of QR modules.
HouseNumber String optionalposition: namedpipeline: False
House or building number.
Lastname String optionalposition: namedpipeline: False
Surname of the contact.
MobilePhone String optionalposition: namedpipeline: False
Mobile phone number.
Nickname String optionalposition: namedpipeline: False
Optional nickname.
Note String optionalposition: namedpipeline: False
Additional notes.
Org String optionalposition: namedpipeline: False
Organization name.
OrgTitle String optionalposition: namedpipeline: False
Contact's title or role within the organization.
OutputType QrContactOutputType optionalposition: namedpipeline: Falsevalues: 4
Contact output type.
Possible values: MeCard, VCard21, VCard3, VCard4
Phone String optionalposition: namedpipeline: False
Primary phone number.
PixelSize Int32 optionalposition: namedpipeline: False
Pixel size for each QR module.
Show SwitchParameter optionalposition: namedpipeline: False
Open image after creation.
StateRegion String optionalposition: namedpipeline: False
State or region.
Street String optionalposition: namedpipeline: False
Street name of the address.
Website String optionalposition: namedpipeline: False
Personal or company website.
WorkPhone String optionalposition: namedpipeline: False
Work phone number.
ZipCode String optionalposition: namedpipeline: False
Postal code.