SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class QualityImageTransform

Sets the image quality for JPEGs.
If you don't use one of these, the default is 95

Variables

NameVisibilityDescription
$q 

Functions

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

public __construct

void $QualityImageTransform->__construct ( int $q );

This function does not have a description

public estimateRamRequirement

int $QualityImageTransform->estimateRamRequirement ( );

Estimate the RAM requirement to run this transform

public transform

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

Does the actual transform