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

Module
ImagePlayground
Inputs
System.String

Generates a QR code for Bitcoin-like payments.

Syntax

New-ImageQRCodeBitcoin
[-Address] <String>
[[-Amount] <Double>]
[-BackgroundColor <Color>]
[-Currency] <Bitcoin|BitcoinCash|Litecoin>
[-FilePath] <String>
[-ForegroundColor <Color>]
[[-Label] <String>]
[[-Message] <String>]
[-PixelSize <Int32>]
[-Show]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Use this cmdlet to create payment request QR codes for Bitcoin and similar supported cryptocurrencies.

Examples

Create a basic Bitcoin payment QR

New-ImageQRCodeBitcoin -Currency Bitcoin -Address '1BoatSLRHtKNngkdXEeobR76b53LETtpyT' -Amount 0.01 -FilePath btc.png

Creates a payment QR code that includes the destination address and requested amount.

Create a crypto donation QR code with label and note

New-ImageQRCodeBitcoin -Currency Bitcoin -Address '1BoatSLRHtKNngkdXEeobR76b53LETtpyT' -Amount 0.005 -Label 'Evotec Donation' -Message 'Thank you for supporting the project' -FilePath donation.png -ForegroundColor DarkOrange -PixelSize 18 -Show

Generates a donation-style payment QR code and opens it after creation.

Parameters

-Address String requiredposition: 1
Destination address.
-Amount Double optionalposition: 2
Optional payment amount.
-BackgroundColor Color optional
Background color of the QR code.
-Currency QrBitcoinLikeType requiredposition: 0
Type of cryptocurrency.
Possible values: Bitcoin, BitcoinCash, Litecoin
-FilePath String requiredposition: 5pipeline: True (ByValue)
The image format is inferred from the file extension.
-ForegroundColor Color optional
Foreground color of QR modules.
-Label String optionalposition: 3
Optional transaction label.
-Message String optionalposition: 4
Optional message.
-PixelSize Int32 optional
Pixel size for each QR module.
-Show SwitchParameter optional
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.