Sign inSign up

dieters877565/xmp-toolkit-ruby

By dieters877565

Updated over 1 year ago

Providing the xmp_toolkit_ruby CLI for reading and writing XMP metadata in image files.

Image
Languages & frameworks
Developer tools
Content management system
0

297

dieters877565/xmp-toolkit-ruby repository overview

dieterMedium/xmp-toolkit-ruby

A lightweight Docker image providing the xmp_toolkit_ruby CLI for reading and writing XMP metadata in image files.

🔍 Features

  • Read XMP: Extract and display XMP metadata from any image format.

  • Write XMP: Override or merge XMP metadata into an existing file using a separate XML payload.

  • Standalone CLI: No Ruby installation required—just Docker.

📥 Pull

docker pull dieters877565/xmp-toolkit-ruby:main

🚀 Usage

Mount your working directory into the container and invoke the xmp_toolkit_ruby commands:

Read XMP
docker run -it --rm \
  -v $(pwd):/workspace \
  dieters877565/xmp-toolkit-ruby:main \
  xmp_toolkit_ruby print_xmp /workspace/YourImage.png
Write XMP

Override or merge XMP metadata from an XML file into your target image:

docker run -it --rm \
  -v $(pwd):/workspace \
  dieters877565/xmp-toolkit-ruby:main \
  xmp_toolkit_ruby override_xmp /workspace/YourImage.png /workspace/metadata.xml

Command options:

* --no-override (default):
  Merge new properties and update existing ones without deleting unspecified tags.

* --override:
  Replace the entire XMP block with the contents of metadata.xml.

📚 Resources

Tag summary

Content type

Image

Digest

sha256:9a362879a

Size

10.4 kB

Last updated

over 1 year ago

docker pull dieters877565/xmp-toolkit-ruby:sha256-0f7839b76bd844cf59fe1d063d1c14e881fef163ce95252622987ac0f2dabb30