metadata-extractor

Extract image and media metadata from local files using the Java metadata-extractor library.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/gerald-ica/opencode-config-snapshot --skill metadata-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metadata-extractor
Source: https://github.com/gerald-ica/opencode-config-snapshot/tree/main/opencode/skills/metadata-extractor
Command: npx skills add https://github.com/gerald-ica/opencode-config-snapshot --skill metadata-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when the task involves reading image or media metadata with Drew Noakes' Java metadata-extractor library, or adapting it into another local workflow.

Core Features & Use Cases

  • Treat this as a Java library first, not an app.
  • Prefer Maven for build and test tasks.
  • Use the sample code path com.drew.imaging.ImageMetadataReader when creating wrappers or examples.
  • When a user wants metadata from local files, either integrate the Java library into a tiny helper or use the built jar directly.

Quick Start

Create a tiny Java helper that loads an image path and invokes ImageMetadataReader.readMetadata to retrieve metadata.

Frequently Asked Questions about metadata-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read image metadata from local files using a Java library?

To extract image metadata using Java, create a tiny helper that loads an image path and invokes ImageMetadataReader.readMetadata. The metadata-extractor library supports photos and videos in desktop or server environments.

What's the best way to extract photo and video metadata in a Java server environment?

The best way to extract photo and video metadata in a Java server environment is integrating the metadata-extractor library. It functions as a Java library rather than an application, making it ideal for direct integration into server-side workflows.

Do I need Maven to build and run the metadata-extractor Java library?

Yes, Maven is required to build and test the metadata-extractor Java library. It handles the Java tooling dependencies needed to compile the project and run the ImageMetadataReader sample code path.

Can I use metadata-extractor to retrieve media metadata from digital archives directly?

Yes, you can use metadata-extractor to retrieve media metadata from digital archives by integrating the Java library into a helper class or using the built jar directly. It supports quick metadata extraction for digital archive files on desktop or server environments.

Why use a Java wrapper with ImageMetadataReader for extracting file metadata?

Using a Java wrapper with ImageMetadataReader provides a programmatic way to load image paths and extract file metadata. This sample code path from the metadata-extractor library enables direct metadata retrieval for local workflow integration.

What are the limitations of using a Java library for image metadata extraction?

The main limitation is that metadata-extractor is a Java library, not a standalone app, requiring Maven and Java tooling to build and run. It is designed for processing local files on desktop or server environments rather than providing a ready-to-use application interface.