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

Module
ImagePlayground
Inputs
System.String

Generates a QR code image containing the provided contact details.

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

Examples

Create a vCard QR code

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

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.

Parameters

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

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.