MediaGalleryMetadata Module
AddIptcMetadata
This class handles writing IPTC metadata (title, description, keywords) into image files, specifically for media gallery images in Magento 2. Develope...
AddXmpMetadata
This class handles adding or updating XMP metadata (title, description, keywords) to media files in Magento 2's Media Gallery. Developers use this whe...
ExifReader
This class provides a safe wrapper around PHP's exif_read_data() function for reading EXIF metadata from image files. It validates that the exif_read_...
File
This class serves as a data transfer object (DTO) representing a media file with its metadata segments in Magento's Media Gallery system. Developers u...
File\AddMetadata
This class adds metadata (like title, description, keywords) to media gallery image files by their file path. Developers use this when they need to em...
File\ExtractMetadata
This class extracts metadata (title, description, keywords) from media files like images. Developers use it when they need to read embedded metadata f...
GetIptcMetadata
This class extracts IPTC metadata (title, description, and keywords) from image files in Magento 2's media gallery. Developers use it when they need t...
GetXmpMetadata
This class extracts metadata (title, description, and keywords) from XMP (Extensible Metadata Platform) data blocks embedded in media files. Developer...
Gif\ReadFile
This class reads and parses GIF image files to extract their metadata and structural segments. Developers would use this class when they need to analy...
Gif\Segment\ReadXmp
This class extracts XMP (Extensible Metadata Platform) metadata from GIF image files in Magento's media gallery. Developers use this when they need to...
Gif\Segment\WriteXmp
This class handles writing XMP metadata to GIF image files in Magento 2's media gallery. Developers would use this class when they need to embed or up...
Gif\WriteFile
This class writes GIF image files to the filesystem with their metadata segments. Developers use this class when they need to save GIF images along wi...
IptcEmbed
This class provides a safe wrapper around PHP's native iptcembed() function for embedding IPTC metadata into image files. Developers use this when the...
Jpeg\ReadFile
This class reads and parses JPEG image files, extracting their binary structure including metadata segments and compressed image data. Developers use...
Jpeg\Segment\ReadExif
This class reads EXIF metadata (title, description, keywords) from JPEG image files. Developers would use this when they need to extract embedded meta...
Jpeg\Segment\ReadIptc
This class extracts IPTC metadata (title, description, keywords) from JPEG image files by reading the APP13 segment that contains Photoshop 3.0 IPTC d...
Jpeg\Segment\ReadXmp
This class extracts XMP (Extensible Metadata Platform) metadata from JPEG image files. Developers use it to read embedded metadata like title, descrip...
Jpeg\Segment\WriteIptc
This class writes IPTC metadata (copyright, keywords, captions) into JPEG image files. Developers use it when they need to embed or update IPTC metada...
Jpeg\Segment\WriteXmp
This class writes XMP metadata to JPEG image files by either creating a new XMP segment or updating existing ones. Developers use this when they need...
Jpeg\WriteFile
This class writes JPEG image files with embedded metadata segments to the filesystem in Magento 2. Developers use it when they need to save images wit...
Metadata
This class serves as a Data Transfer Object (DTO) that holds metadata information for media assets in Magento's Media Gallery. Developers use this cla...
Png\ReadFile
This class reads PNG image files and parses them into structured segments containing metadata. Developers use this when they need to extract metadata...
Png\Segment\ReadExif
This class reads EXIF metadata (title, description, keywords) from PNG image files. Developers would use this when they need to extract embedded metad...
Png\Segment\ReadIptc
This class extracts IPTC metadata (title, description, keywords) from PNG image files. Developers would use this when implementing media gallery featu...
Png\Segment\ReadXmp
This class extracts XMP (Extensible Metadata Platform) metadata from PNG image files. Developers use this when they need to read embedded metadata lik...
Png\Segment\WriteIptc
This class writes IPTC metadata (title, description, keywords) into PNG image files by creating or updating zTXt segments. Developers would use this w...
Png\Segment\WriteXmp
This class writes XMP metadata into PNG image files by creating or updating iTXt chunks. Developers use this when they need to embed or update metadat...
Png\WriteFile
This class writes PNG image files to the filesystem with their metadata segments intact. Developers use this when saving PNG images with embedded meta...
Segment
This class represents a segment of metadata from a media file (like images or videos). Developers use it to store and retrieve named chunks of metadat...
SegmentNames
This class maps JPEG segment type codes (hexadecimal values) to their human-readable names and vice versa. Developers use this when parsing or manipul...
XmpTemplate
This class provides access to the default XMP (Extensible Metadata Platform) template file used for image metadata operations. Developers use this cla...