Log in
Interface

ReadMetadataInterface

Magento\MediaGalleryMetadataApi\Model\ReadMetadataInterface

What it does

This interface defines a contract for reading metadata from media files in Magento 2's Media Gallery.

Developers implement this interface to create metadata readers that extract information like EXIF data, IPTC tags, or XMP metadata from image files.

It's used when you need to retrieve file metadata during media asset processing or indexing.

Public Methods

  • execute()