From 209cc16e0dbb2fad7f3e12e0c836c3c4bd1b6a5b Mon Sep 17 00:00:00 2001 From: Ingo Weyrich Date: Mon, 18 Mar 2019 21:21:56 +0100 Subject: [PATCH] Update histmatching.cc Allow even smaller thumbs for histogram matching. Tested on Phase One 65+ files. Works fine. --- rtengine/histmatching.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/histmatching.cc b/rtengine/histmatching.cc index b83cc0562..3d1eb1657 100644 --- a/rtengine/histmatching.cc +++ b/rtengine/histmatching.cc @@ -289,7 +289,7 @@ void RawImageSource::getAutoMatchedToneCurve(const ColorManagementParams &cp, st histMatchingCache = outCurve; *histMatchingParams = cp; return; - } else if (w * 25 < fw) { + } else if (w * 32 < fw) { if (settings->verbose) { std::cout << "histogram matching: the embedded thumbnail is too small: " << w << "x" << h << std::endl; }