Log in
Model

SegmentNames

Magento\MediaGalleryMetadata\Model\SegmentNames

What it does

This class maps JPEG segment type codes (hexadecimal values) to their human-readable names and vice versa.

Developers use this when parsing or manipulating JPEG image files to identify specific segments like EXIF data (APP1), comments (COM), or image data markers.

It's primarily used by the Media Gallery metadata extraction and manipulation functionality.

Public Methods

  • getSegmentName()
  • getSegmentType()