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

Namespace ImagePlayground
Inputs
System.String

Generates a Swiss QR payment code.

Remarks

Use this cmdlet to render Swiss QR bill payment details into a payment QR image.

Examples

Authored help example

Create a Swiss QR payment code

PS>


New-ImageQRCodeSwiss -Iban 'CH4431999123000889012' -CreditorName 'Evotec GmbH' -CreditorStreet 'Main Street' -CreditorHouseNumber '1' -CreditorPostalCode '8000' -CreditorCity 'Zurich' -CreditorCountry 'CH' -ReferenceType NON -FilePath swiss.png
        

Renders a Swiss QR payment code from the payment fields supplied to the cmdlet.

Create a Swiss QR code with amount, message, and custom colors

PS>


New-ImageQRCodeSwiss -Iban 'CH4431999123000889012' -CreditorName 'Evotec GmbH' -CreditorStreet 'Main Street' -CreditorHouseNumber '1' -CreditorPostalCode '8000' -CreditorCity 'Zurich' -CreditorCountry 'CH' -Amount 249.99 -UnstructuredMessage 'Invoice 2026-041' -FilePath swiss-branded.png -ForegroundColor DarkBlue -BackgroundColor WhiteSmoke -PixelSize 14 -Show
        

Creates a styled Swiss QR payment image and opens it immediately after generation.

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-ImageQRCodeSwiss [-AlternativeProcedure1 <String>] [-AlternativeProcedure2 <String>] [-Amount <Decimal>] [-BackgroundColor <Color>] [-BillInformation <String>] [-CreditorAddressLine1 <String>] [-CreditorAddressLine2 <String>] [-CreditorAddressType <StructuredAddress|CombinedAddress>] [-CreditorCity <String>] [-CreditorCountry <String>] [-CreditorHouseNumber <String>] -CreditorName <String> [-CreditorPostalCode <String>] [-CreditorStreet <String>] [-Currency <CHF|EUR>] [-DebtorAddressLine1 <String>] [-DebtorAddressLine2 <String>] [-DebtorAddressType <StructuredAddress|CombinedAddress>] [-DebtorCity <String>] [-DebtorCountry <String>] [-DebtorHouseNumber <String>] [-DebtorName <String>] [-DebtorPostalCode <String>] [-DebtorStreet <String>] -FilePath <String> [-ForegroundColor <Color>] -Iban <String> [-IbanType <Iban|QrIban>] [-PixelSize <Int32>] [-Reference <String>] [-ReferenceType <QRR|SCOR|NON>] [-Show] [-UnstructuredMessage <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

AlternativeProcedure1 String optionalposition: namedpipeline: False
Optional first alternative procedure block.
AlternativeProcedure2 String optionalposition: namedpipeline: False
Optional second alternative procedure block.
Amount Decimal optionalposition: namedpipeline: False
Optional payment amount.
BackgroundColor Color optionalposition: namedpipeline: False
Background color of the QR code.
BillInformation String optionalposition: namedpipeline: False
Optional bill information.
CreditorAddressLine1 String optionalposition: namedpipeline: False
Creditor first address line for combined addresses.
CreditorAddressLine2 String optionalposition: namedpipeline: False
Creditor second address line for combined addresses.
CreditorAddressType SwissQrAddressType optionalposition: namedpipeline: Falsevalues: 2
Creditor address type.
Possible values: StructuredAddress, CombinedAddress
CreditorCity String optionalposition: 5pipeline: False
Creditor city for structured addresses.
CreditorCountry String optionalposition: namedpipeline: False
Creditor two-letter country code.
CreditorHouseNumber String optionalposition: 3pipeline: False
Optional creditor house number for structured addresses.
CreditorName String requiredposition: 1pipeline: False
Creditor name.
CreditorPostalCode String optionalposition: 4pipeline: False
Creditor postal code for structured addresses.
CreditorStreet String optionalposition: 2pipeline: False
Optional creditor street for structured addresses.
Currency SwissQrCurrency optionalposition: namedpipeline: Falsevalues: 2
Payment currency.
Possible values: CHF, EUR
DebtorAddressLine1 String optionalposition: namedpipeline: False
Debtor first address line for combined addresses.
DebtorAddressLine2 String optionalposition: namedpipeline: False
Debtor second address line for combined addresses.
DebtorAddressType SwissQrAddressType optionalposition: namedpipeline: Falsevalues: 2
Debtor address type.
Possible values: StructuredAddress, CombinedAddress
DebtorCity String optionalposition: namedpipeline: False
Debtor city for structured addresses.
DebtorCountry String optionalposition: namedpipeline: False
Debtor two-letter country code.
DebtorHouseNumber String optionalposition: namedpipeline: False
Optional debtor house number for structured addresses.
DebtorName String optionalposition: namedpipeline: False
Debtor name.
DebtorPostalCode String optionalposition: namedpipeline: False
Debtor postal code for structured addresses.
DebtorStreet String optionalposition: namedpipeline: False
Optional debtor street for structured addresses.
FilePath String requiredposition: 6pipeline: True (ByValue)
The image format is inferred from the file extension.
ForegroundColor Color optionalposition: namedpipeline: False
Foreground color of QR modules.
Iban String requiredposition: 0pipeline: False
Swiss or Liechtenstein IBAN.
IbanType SwissQrIbanType optionalposition: namedpipeline: Falsevalues: 2
IBAN kind.
Possible values: Iban, QrIban
PixelSize Int32 optionalposition: namedpipeline: False
Pixel size for each QR module.
Reference String optionalposition: namedpipeline: False
Reference text for QRR or SCOR reference types.
ReferenceType SwissQrReferenceType optionalposition: namedpipeline: Falsevalues: 3
Reference type.
Possible values: QRR, SCOR, NON
Show SwitchParameter optionalposition: namedpipeline: False
Opens the image once generated.
UnstructuredMessage String optionalposition: namedpipeline: False
Optional unstructured payment message.