Add experimental, entropy-based auto-crop

Remove deprecated extract API
This commit is contained in:
Lovell Fuller
2016-03-05 12:29:16 +00:00
parent 38ddb3b866
commit 2034efcf55
11 changed files with 214 additions and 96 deletions

View File

@@ -45,7 +45,7 @@ struct PipelineBaton {
int height;
int channels;
Canvas canvas;
int gravity;
int crop;
std::string interpolator;
double background[4];
bool flatten;
@@ -99,7 +99,7 @@ struct PipelineBaton {
topOffsetPost(-1),
channels(0),
canvas(Canvas::CROP),
gravity(0),
crop(0),
flatten(false),
negate(false),
blurSigma(0.0),