Add some write_metadata() calls; use ImageContent for still image.