Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars100
Forks7
Open issues0
PowerShell Gallery downloads712243
ReleaseImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-08-25T07:07:54.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.