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.

Stars90
Forks7
Open issues1
PowerShell Gallery downloads647783
ReleaseImagePlayground-v20260411164022
Language: C# Updated: 2026-04-11T16:40:22.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