Log in
Model

ImageExtractor

Magento\Catalog\Model\ImageExtractor

What it does

This class extracts image configuration data from XML DOM structures, specifically from view.xml configuration files.

Developers use this when Magento processes image definitions for product images, converting XML nodes into arrays with properties like width, height, background color, and aspect ratio settings.

It's primarily used internally by Magento's theme and image configuration system.

Public Methods

  • process()