Function __global->adjust_pic_size

Definitions

sources/images_cleanup_pipeline.php

  • Adjust an image to a maximum bounding box size.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$image resource required parameter N/A N/A GD image resource
$maximum_dimension integer required parameter N/A N/A The size of the bounding box

Return

  • A pair: Adjusted GD image resource, Whether a change was made
  • Type: array
  • Set: N/A
  • Range: N/A