SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class CropImageTransform

Does image resizing, etc

Variables

NameVisibilityDescription
$height 
$horiz_pos 
$vert_pos 
$width 

Functions

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

public __construct

void $CropImageTransform->__construct ( int $width , int $height [, mixed $vert_pos [, mixed $horiz_pos ]] );

Constructor

public estimateRamRequirement

int $CropImageTransform->estimateRamRequirement ( );

Estimate the RAM requirement to run this transform

public transform

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

Does the actual transform