Command
Set-ImageHeifXmp
Sets the XMP metadata packet in a HEIF or HEIC file.
Syntax
Description
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 $packetSet a HEIC XMP packet from a file
Set-ImageHeifXmp -FilePath photo.heic -XmpPath packet.xmp -FilePathOutput photo-updated.heicParameters
- -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.
- -XmpPath String
- Path to a UTF-8 XMP metadata packet 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.