exiftool-rs 0.5.0

Read, write, and edit metadata in 93 file formats — a pure Rust reimplementation of ExifTool 13.53 with 100% tag name parity (194/194 test files)
Documentation
1
2
3
4
5
6
7
8
//! XMP sidecar file writer — generates standalone .xmp files.

use crate::writer::xmp_writer;

/// Write XMP sidecar file content from properties.
pub fn write_xmp_sidecar(properties: &[xmp_writer::XmpProperty]) -> Vec<u8> {
    xmp_writer::build_xmp(properties).into_bytes()
}