SproutCMS

This is the code documentation for the SproutCMS project

function calculateResizeRam()

Will we have enough RAM to do the resizes?

Usage

void File::calculateResizeRam ( array $dimensions );

Arguments

  1. array $dimensions
    Dimensions of the original image; 0 = width, 1 => height

Exceptions thrown

  • Exception
    If we don't

Return value

  • void