[ Version ( deprecated = true , deprecated_since = "0.16.0" , since = "0.12.2" ) ]
public string? try_generate_xmp_packet (XmpFormatFlags xmp_format_flags, uint32 padding) throws Error
Warning: try_generate_xmp_packet is deprecated since 0.16.0.
Encode the XMP packet as a null-terminated string.
Use [method@Metadata.try_generate_xmp_packet] instead.
| this |
An instance of [class@GExiv2.Metadata] |
| xmp_format_flags |
One of XmpFormatFlags |
| padding |
The padding before the closing `<?xpacket>` tag |
|
Encode the XMP packet and return as a null-terminated string. |