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

Namespace ImagePlayground
Inputs
System.String

Generates a QR code for Bitcoin-like payments.

Remarks

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

Examples

Authored help example

Create a basic Bitcoin payment QR

PS>


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

PS>


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.

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

Parameters

Address String requiredposition: 1pipeline: False
Destination address.
Amount Double optionalposition: 2pipeline: False
Optional payment amount.
BackgroundColor Color optionalposition: namedpipeline: False
Background color of the QR code.
Currency QrBitcoinLikeType requiredposition: 0pipeline: Falsevalues: 3
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 optionalposition: namedpipeline: False
Foreground color of QR modules.
Label String optionalposition: 3pipeline: False
Optional transaction label.
Message String optionalposition: 4pipeline: False
Optional message.
PixelSize Int32 optionalposition: namedpipeline: False
Pixel size for each QR module.
Show SwitchParameter optionalposition: namedpipeline: False
Opens the image after creation.