You are here

protected property GDToolkit::$preLoadInfo in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::preLoadInfo

Image information from a file, available prior to loading the GD resource.

This contains a copy of the array returned by executing getimagesize() on the image file when the image object is instantiated. It gets reset to NULL as soon as the GD resource is loaded.

Type: array|null

See also

\Drupal\system\Plugin\ImageToolkit\GDToolkit::parseFile()

\Drupal\system\Plugin\ImageToolkit\GDToolkit::setResource()

http://php.net/manual/function.getimagesize.php

File

core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php, line 55

Class

GDToolkit
Defines the GD2 toolkit for image manipulation within Drupal.

Namespace

Drupal\system\Plugin\ImageToolkit

Code

protected $preLoadInfo = NULL;