# Get-ImageMetadata

Gets supported metadata profiles and provenance indicators from an image.

Project

ImagePlayground

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

[View on GitHub](https://github.com/EvotecIT/ImagePlayground) [Visit Website](#) [Releases](https://github.com/EvotecIT/ImagePlayground/releases) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/ImagePlayground)

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**Module**

`ImagePlayground`

**Inputs**

`System.String`

**Outputs**

`ImagePlayground.ImageMetadataInfo`

Gets supported metadata profiles and provenance indicators from an image.

## Syntax

```
Get-ImageMetadata
[-FilePath] <String>
[<CommonParameters>]
```

[#](#method-get-imagemetadata-string)

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.

## Guides & Samples

Authored walkthroughs and practical samples linked to this command.

- [Choose an ImagePlayground workflow](/projects/imageplayground/docs/workflows/) Guide
  
  Choose between image processing, codes, metadata, charts, topology, and visual-story workflows.

## Examples

### Inspect all supported image metadata

```powershell
Get-ImageMetadata -FilePath image.png
```

### Check metadata for AI provenance indicators

```powershell
$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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:3E599600B67AB69E2A82F83240E9B5CC89E2A4E5C7299CFF3F33880D07D429E1 -->
