Log in
Model

GetIptcMetadata

Magento\MediaGalleryMetadata\Model\GetIptcMetadata

What it does

This class extracts IPTC metadata (title, description, and keywords) from image files in Magento 2's media gallery.

Developers use it when they need to read embedded IPTC information from uploaded images to populate media gallery metadata fields automatically, helping preserve image metadata during the upload process.

Public Methods

  • execute()