Project

ImagePlayground

ImagePlayground is a PowerShell module that provides a set of functions for image processing. Among other things it can create QRCodes, BarCodes, Charts, and do image processing that can help with daily tasks.

Stars91
Forks7
Open issues2
PowerShell Gallery downloads680311
ReleaseImagePlayground-v20260412165249
Language: C# Updated: 2026-05-07T15:23:41.0000000+00:00

Curated Examples

Create a QR code with a logo

Use ImagePlayground to generate a QR code and add a watermark image.

This pattern is useful when a generated QR code needs to carry brand context in a report, handout, or static page.

It comes from the source example at Examples/Images.QRCodeWithImage.ps1.

When to use this pattern

  • You need a QR code as a generated image file.
  • You want to add a logo or watermark after generation.
  • The output should be produced from a repeatable PowerShell script.

Example

Import-Module ImagePlayground

$qrPath = "$PSScriptRoot\Samples\QRCode.png"
$outputPath = "$PSScriptRoot\Output\QRCodeWithImage.jpg"

New-ImageQRCode -Content 'https://example.com/helpdesk' -FilePath $qrPath -Verbose

$image = Get-Image -FilePath $qrPath
$image.WatermarkImage(
    "$PSScriptRoot\Samples\LogoEvotec.png",
    [ImagePlayground.WatermarkPlacement]::TopLeft,
    1,
    0.5,
    0,
    [SixLabors.ImageSharp.Processing.FlipMode]::None,
    50
)

Save-Image -Image $image -Open -FilePath $outputPath

What this demonstrates

  • generating a QR code image
  • loading the image for additional processing
  • saving a watermarked output file

Source