Switch from custom trim op to vips_find_trim #914

This commit is contained in:
Lovell Fuller
2018-10-02 11:24:32 +01:00
parent 11900945eb
commit 21fbe546b8
8 changed files with 34 additions and 65 deletions

View File

@@ -81,7 +81,7 @@ struct PipelineBaton {
double sharpenJagged;
int threshold;
bool thresholdGrayscale;
int trimTolerance;
double trimThreshold;
double linearA;
double linearB;
double gamma;
@@ -176,7 +176,7 @@ struct PipelineBaton {
sharpenJagged(2.0),
threshold(0),
thresholdGrayscale(true),
trimTolerance(0),
trimThreshold(0.0),
linearA(1.0),
linearB(0.0),
gamma(0.0),