|
| execute ($img, $margin, $rgb_threshold, $pixel_cutoff, $base_color) |
|
◆ execute()
execute |
( |
|
$img, |
|
|
|
$margin, |
|
|
|
$rgb_threshold, |
|
|
|
$pixel_cutoff, |
|
|
|
$base_color |
|
) |
| |
Executes the auto-crop operation on the $img
- Paramètres
-
\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 |
- Renvoie
- \WideImage\Image resulting auto-cropped image
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/Operation/AutoCrop.php