[ class tree: Internal-Operations ] [ index: Internal-Operations ] [ all elements ]

Class: WideImage_Operation_AutoCrop

Source Location: /Operation/AutoCrop.php

Class Overview

AutoCrop operation


Class Details

[line 30]
AutoCrop operation

[ Top ]

Class Methods

method execute [line 41]

WideImage_Image execute( WideImage_Image $img, $margin, int $rgb_threshold, int $pixel_cutoff, int $base_color)

Executes the auto-crop operation on the $img


return:  resulting auto-cropped image


WideImage_Image   $img  
int   $rgb_threshold   The difference in RGB from $base_color
int   $pixel_cutoff   The number of pixels on each border that must be over $rgb_threshold
int   $base_color   The color that will get cropped

[ Top ]

Documentation generated on Sat, 19 Feb 2011 12:55:41 +0100 by phpDocumentor 1.4.3