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.

Stars97
Forks7
Open issues0
PowerShell Gallery downloads711113
ReleaseImagePlayground-PowerShellModule.v3.2.4
Language: C# Updated: 2026-08-04T14:11:27.0000000+00:00

Curated Examples

Create ChartForgeX charts

Generate PNG, SVG, HTML and transparent ChartForgeX chart overlays from ImagePlayground.

ImagePlayground keeps chart construction in ChartForgeX and provides a thin PowerShell rendering command. The same native chart can be written as PNG, SVG, or a standalone HTML page.

using module ImagePlayground

$cpu = [ChartForgeX.Core.ChartPoints]::FromValues(31,42,37,55,68,61,74,58,49,63)
$memory = [ChartForgeX.Core.ChartPoints]::FromValues(48,51,55,57,60,62,59,64,66,69)
$chart = [ChartForgeX.Core.Chart]::Create()
$chart.WithTitle('Workstation health').WithSize(920, 520).WithTheme([ChartForgeX.Themes.ChartTheme]::ReportDark()).WithXAxis('Sample').WithYAxis('Usage %').WithGrid().WithLegend() | Out-Null
$chart.AddSmoothLine('CPU', $cpu, [ChartForgeX.Primitives.ChartColor]::FromHex('#38BDF8')) | Out-Null
$chart.AddSmoothLine('Memory', $memory, [ChartForgeX.Primitives.ChartColor]::FromHex('#34D399')) | Out-Null

$chart | New-ImageChart -FilePath .\Examples\Samples\ChartsChartForgeXTrend.png
$chart | New-ImageChart -FilePath .\Examples\Samples\ChartsChartForgeXTrend.svg
$chart | New-ImageChart -FilePath .\Examples\Samples\ChartsChartForgeXTrend.html

The repository script Examples\Charts.ChartForgeX.Showcase.ps1 contains the complete example.