API Reference
Get-ImageMetadata
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
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>]#All Parameter SetsParameters
- FilePath String
- Path to the image file.
Outputs
ImagePlayground.ImageMetadataInfo