Project

ImagePlayground

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

Stars 101
Forks 7
Total downloads 712,707
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-09

API Reference

Command

Export-ImageVisualArtifact

Namespace ImagePlayground
Inputs
ChartForgeX.VisualArtifacts.VisualArtifact
Outputs
ChartForgeX.VisualArtifacts.VisualArtifact

Exports a ChartForgeX visual artifact to static SVG, HTML, or PNG output.

Remarks

Applies shared watermarks, PNG DPI metadata, topology layout presets, and optional layout diagnostics without changing the source artifact.

Examples

Authored help example

Export a watermarked 144 DPI PNG

PS>


$artifact | Export-ImageVisualArtifact -FilePath report.png -Watermark $mark -Dpi 144
        

Exports the artifact through the shared ChartForgeX static rendering pipeline.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Export-ImageVisualArtifact -Artifact <VisualArtifact> [-Dpi <Double>] -FilePath <String> [-IncludeTopologyDiagnostics] [-PassThru] [-Show] [-TopologyLayoutPreset <Automatic|Dense|Compact|Balanced|Presentation>] [-Watermark <VisualWatermark[]>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Artifact VisualArtifact requiredposition: 0pipeline: True (ByValue)
Visual artifact to export.
Dpi Double optionalposition: namedpipeline: False
PNG physical resolution metadata in dots per inch.
FilePath String requiredposition: 1pipeline: False
Destination .svg, .html, .htm, or .png path.
IncludeTopologyDiagnostics SwitchParameter optionalposition: namedpipeline: False
Draw a developer-oriented topology layout diagnostic overlay.
PassThru SwitchParameter optionalposition: namedpipeline: False
Write the source artifact to the pipeline after export.
Show SwitchParameter optionalposition: namedpipeline: False
Open the generated artifact after creation.
TopologyLayoutPreset TopologyLayoutPreset optionalposition: namedpipeline: Falsevalues: 5
Reusable topology spacing and presentation profile.
Possible values: Automatic, Dense, Compact, Balanced, Presentation
Watermark VisualWatermark[] optionalposition: namedpipeline: False
Watermarks applied in declaration order.

Outputs

ChartForgeX.VisualArtifacts.VisualArtifact