generate_xmp_packet


Description:

[ Version ( deprecated = true , deprecated_since = "0.12.2" ) ]
public string? generate_xmp_packet (XmpFormatFlags xmp_format_flags, uint32 padding)

Warning: generate_xmp_packet is deprecated since 0.12.2.

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.