generate_xmp_packet


Description:

[ Version ( since = "0.16.0" ) ]
public string? generate_xmp_packet (XmpFormatFlags xmp_format_flags, uint32 padding) throws Error

Encode the XMP packet as a null-terminated string.

Parameters:

this

An instance of [class@GExiv2.Metadata]

xmp_format_flags

One of XmpFormatFlags

padding

The padding before the closing `<?xpacket>` tag

Returns:

Encode the XMP packet and return as a null-terminated string.