Reduce peak memorey usage for processing non raw files in queue by width * height * 3 * bytedepth, #5170
This commit is contained in:
@@ -338,5 +338,10 @@ ColorTemp StdImageSource::getSpotWB (std::vector<Coord2D> &red, std::vector<Coor
|
||||
return ColorTemp (reds / rn * img_r, greens / gn * img_g, blues / bn * img_b, equal);
|
||||
}
|
||||
|
||||
void StdImageSource::flushRGB() {
|
||||
img->allocate(0, 0);
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user