Module Description
A module that provides a file metadata manager service and API. Allows to get, via an unified API, information stored in files like EXIF photo information, TrueType font information, etc.

Metadata protocols are pluggable. Developers can implement a plugin and use the service framework to get the metadata required.

The following plugins are provided by the module:


* exif - Uses the PHP Exif Library to read/write EXIF information to image files, bypassing the limitations of the standard PHP Exif extensions which only provides read capabilities. Enable the File metadata - EXIF submodule to enable this plugin.
* font - Uses the PHP Font Lib to read font information from TTF/OTF/WOFF font files. Enable the File metadata - Font submodule to enable this plugin.
* getimagesize - Caches calls to the PHP getimagesize() function.

This module is inspired by discussions at #2630242: Provide methods to retrieve EXIF image information via the Image object.

Features:

* Load from, and save to, file embedded metadata directly from the files.
* Metadata for a file is statically cached during a request's lifetime. This avoids different modules all repeat I/O on the same file.
* Metadata can be cached in a Drupal cache bin to avoid repeating I/O on the files in successive requests.
* Metadata standards (EXIF, TTF, etc.) are implemented as plugins. The service loads the metadata plugin needed based on the calling code request.
* Manages copying to/from local temporary storage files stored in remote file systems, to allow PHP functions that do not support remote stream wrappers access the file locally.

Installation
The module MUST be installed using Composer.

Configuration:
- Go to Manage > Configuration > System > File Metadata Manager and specify the cache retention requirements, in general and/or per each metadata plugin.

Usage examples:

* exif - README.md
* font - README.md
* getimagesize - README.md

Project Usage
47522
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to provide a file metadata manager service and API that allows developers to retrieve information stored in files like EXIF photo information and TrueType font information through a unified API, with pluggable metadata protocols and the ability to implement custom plugins.
Data Name
file_mdm

OPENAI CHATBOT

OPENAI CHATBOT

14:27:24
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.