API Reference
Command
Set-ImageHeifXmp
Sets the XMP metadata packet in a HEIF or HEIC file.
Remarks
Requires an existing HEIF XMP item with a single writable file extent.
Examples
Set a HEIC XMP packet from a string
Set-ImageHeifXmp -FilePath photo.heic -Xmp $packet
Set a HEIC XMP packet from a file
Set-ImageHeifXmp -FilePath photo.heic -XmpPath packet.xmp -FilePathOutput photo-updated.heic
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
Set-ImageHeifXmp -FilePath <String> [-FilePathOutput <String>] -Xmp <String> [<CommonParameters>]#Parameter set:
XmpParameters
- FilePath String
- Path to the HEIF or HEIC file.
- FilePathOutput String
- When not specified the source file is overwritten.
- Xmp String
- XMP metadata packet to write.
Set-ImageHeifXmp -FilePath <String> [-FilePathOutput <String>] -XmpPath <String> [<CommonParameters>]#Parameter set:
XmpPathParameters
- FilePath String
- Path to the HEIF or HEIC file.
- FilePathOutput String
- When not specified the source file is overwritten.
- XmpPath String
- Path to a UTF-8 XMP metadata packet file.