Log in
Model

ReadExif

Magento\MediaGalleryMetadata\Model\Png\Segment\ReadExif

What it does

This class reads EXIF metadata (title, description, keywords) from PNG image files.

Developers would use this when they need to extract embedded metadata information from PNG images, such as when uploading media to the gallery or displaying image details.

It specifically looks for the 'eXIf' segment in PNG files and parses the EXIF data using PHP's exif_read_data function.

Public Methods

  • execute()