try_generate_xmp_packet


Description:

[ Version ( since = "0.12.2" ) ]
public string? try_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 Metadata

xmp_format_flags

One of XmpFormatFlags

padding

The padding (FIXME: Add documentation)

Returns:

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