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 downloads680376
ReleaseImagePlayground-v20260412165249
Language: C# Updated: 2026-05-07T15:23:41.0000000+00:00

Curated Examples

Create and read barcodes

Use ImagePlayground to create EAN barcode images and read them back.

This pattern is useful when barcode generation and validation should live in one script.

It comes from the source example at Examples/Barcode.Create.ps1.

When to use this pattern

  • You need barcode images generated from known values.
  • You want a quick read-back check after generation.
  • The output should be a file that another process can attach or publish.

Example

Import-Module ImagePlayground

$outputPath = Join-Path $PSScriptRoot 'Output'
New-Item -Path $outputPath -ItemType Directory -Force | Out-Null

$ean13Path = Join-Path $outputPath 'BarcodeEAN13.png'
$ean7Path = Join-Path $outputPath 'BarcodeEAN7.png'

New-ImageBarCode -FilePath $ean13Path -Type EAN -Value '5901234123457'
New-ImageBarCode -FilePath $ean7Path -Type EAN -Value '5901234'

Get-ImageBarCode -FilePath $ean13Path
Get-ImageBarCode -FilePath $ean7Path

What this demonstrates

  • creating barcode images from PowerShell
  • using EAN barcode values
  • reading generated images back for validation

Source