SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class ResizeImageTransform

Does image resizing, etc

Variables

NameVisibilityDescription
$height 
$master 
$width 

Functions

NameVisibilityDescription
__constructpublicConstructor
estimateRamRequirementpublicEstimate the RAM requirement to run this transform
getDimensionspublicGets the dimensions
transformpublicDoes the actual transform

public __construct

void $ResizeImageTransform->__construct ( int $width , int $height [, int $master ] );

Constructor

public estimateRamRequirement

int $ResizeImageTransform->estimateRamRequirement ( );

Estimate the RAM requirement to run this transform

public getDimensions

array $ResizeImageTransform->getDimensions ( );

Gets the dimensions

public transform

unknown $ResizeImageTransform->transform ( Image $img );

Does the actual transform