Project

ImagePlayground

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

Stars 101
Forks 7
Total downloads 711,982
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-26
Command

Get-ImageMetadata

Module
ImagePlayground
Inputs
System.String
Outputs
ImagePlayground.ImageMetadataInfo

Gets supported metadata profiles and provenance indicators from an image.

Syntax

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

Description

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

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

Parameters

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

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.