Project

ImagePlayground

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

Stars 100
Forks 7
Total downloads 712,347
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-08-25

API Reference

Command

Get-ImageMetadata

Namespace ImagePlayground
Inputs
System.String
Outputs
ImagePlayground.ImageMetadataInfo

Gets supported metadata profiles and provenance indicators from an image.

Remarks

The result includes resolution, EXIF, XMP, ICC, IPTC, and lightweight C2PA provenance detection where supported. C2PA presence does not by itself mean that an image was made with AI, and this command does not cryptographically validate C2PA claims.

Examples

Authored help example

Inspect all supported image metadata


Get-ImageMetadata -FilePath image.png
        

Check metadata for AI provenance indicators


$metadata = Get-ImageMetadata -FilePath image.png
            $metadata.Provenance.HasC2paManifest
            $metadata.Provenance.HasXmpAiDeclaration
        

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

Get-ImageMetadata -FilePath <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

FilePath String requiredposition: 0pipeline: True (ByValue)
Path to the image file.

Outputs

ImagePlayground.ImageMetadataInfo