bug fixes by heckflosse
This commit is contained in:
parent
74e31dff45
commit
7dd598d9b7
@ -213,7 +213,7 @@ void RawImageSource::getAutoMatchedToneCurve(std::vector<double> &outCurve)
|
|||||||
histMatchingCache = outCurve;
|
histMatchingCache = outCurve;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
skip = LIM(5, skip * fh / h, 10); // adjust the skip factor -- the larger the thumbnail, the less we should skip to get a good match
|
skip = LIM(skip * fh / h, 6, 10); // adjust the skip factor -- the larger the thumbnail, the less we should skip to get a good match
|
||||||
source.reset(thumb->quickProcessImage(neutral, fh / skip, TI_Nearest));
|
source.reset(thumb->quickProcessImage(neutral, fh / skip, TI_Nearest));
|
||||||
|
|
||||||
if (settings->verbose) {
|
if (settings->verbose) {
|
||||||
|
@ -466,8 +466,8 @@ Thumbnail* Thumbnail::loadFromRaw (const Glib::ustring& fname, RawMetaDataLocati
|
|||||||
skip--;
|
skip--;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skip < 1) {
|
if (skip < 2) {
|
||||||
skip = 1;
|
skip = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
int hskip = skip, vskip = skip;
|
int hskip = skip, vskip = skip;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user