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

Namespace ImagePlayground
Inputs
System.String

Generates a QR code for a Shadowsocks configuration.

Remarks

Use this cmdlet to share a client-ready Shadowsocks connection string as a scannable QR code.

Examples

Authored help example

Create a basic Shadowsocks QR code

PS>


New-ImageQRCodeShadowSocks -Host 'example.com' -Port 8388 -Password 'pwd' -Method Aes256Gcm -FilePath ss.png
        

Creates a QR code for importing a Shadowsocks connection into a compatible client.

Create a tagged Shadowsocks client profile QR code

PS>


New-ImageQRCodeShadowSocks -Host 'vpn.evotec.pl' -Port 8388 -Password 'StrongSecret!' -Method Chacha20IetfPoly1305 -Tag 'Warsaw Edge' -FilePath ss-warsaw.png -ForegroundColor Purple -PixelSize 14 -Show
        

Generates a named client profile QR code and opens it immediately 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-ImageQRCodeShadowSocks [-BackgroundColor <Color>] -FilePath <String> [-ForegroundColor <Color>] -Method <Chacha20IetfPoly1305> -Password <String> [-PixelSize <Int32>] -Port <Int32> -ServerHost <String> [-Show] [-Tag <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

BackgroundColor Color optionalposition: namedpipeline: False
Background color of the QR code.
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.
Method QrShadowSocksMethod requiredposition: 3pipeline: Falsevalues: 37
Encryption method.
Possible values: Chacha20IetfPoly1305, Aes128Gcm, Aes192Gcm, Aes256Gcm, XChacha20IetfPoly1305, Aes128Cfb, Aes192Cfb, Aes256Cfb, Aes128Ctr, Aes192Ctr, Aes256Ctr, Camellia128Cfb, Camellia192Cfb, Camellia256Cfb, Chacha20Ietf, Aes256Cb, Aes128Ofb, Aes192Ofb, Aes256Ofb, Aes128Cfb1, Aes192Cfb1, Aes256Cfb1, Aes128Cfb8, Aes192Cfb8, Aes256Cfb8, Chacha20, BfCfb, Rc4Md5, Salsa20, DesCfb, IdeaCfb, Rc2Cfb, Cast5Cfb, Salsa20Ctr, Rc4, SeedCfb, Table
Password String requiredposition: 2pipeline: False
Password for the server.
PixelSize Int32 optionalposition: namedpipeline: False
Pixel size for each QR module.
Port Int32 requiredposition: 1pipeline: False
Server port.
ServerHost String requiredposition: 0pipeline: Falsealiases: Host
Server host name.
Show SwitchParameter optionalposition: namedpipeline: False
Opens the image after creation.
Tag String optionalposition: 4pipeline: False
Optional tag.