# Remove-ImageHeifXmp

Removes the XMP metadata packet from a HEIF or HEIC file.

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`

Removes the XMP metadata packet from a HEIF or HEIC file.

## Syntax

```
Remove-ImageHeifXmp
[-FilePath] <String>
[[-FilePathOutput] <String>]
[<CommonParameters>]
```

[#](#method-remove-imageheifxmp-string-string)

Parameter set: `All Parameter Sets`

## Description

Requires an existing HEIF XMP item with a single writable file extent.

## Examples

### Clear the HEIC XMP packet

```powershell
Remove-ImageHeifXmp -FilePath photo.heic
```

## Parameters

**-FilePath String requiredposition: 0pipeline: True (ByValue)**

Path to the HEIF or HEIC file.

**-FilePathOutput String optionalposition: 1**

When not specified the source file is overwritten.

## 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:0B348239B08FDA2501392AF304AC1A52E0511A5B6DA89707748E19A547F0364A -->
