histmatching: make sure we use an sRGB profile for generating the target rendering
This commit is contained in:
@@ -137,6 +137,7 @@ extern Options options;
|
||||
|
||||
namespace rtengine
|
||||
{
|
||||
|
||||
using namespace procparams;
|
||||
|
||||
Thumbnail* Thumbnail::loadFromImage (const Glib::ustring& fname, int &w, int &h, int fixwh, double wbEq, bool inspectorMode)
|
||||
@@ -1303,7 +1304,7 @@ IImage8* Thumbnail::processImage (const procparams::ProcParams& params, eSensorT
|
||||
readyImg = new Image8 (fw, fh);
|
||||
ipf.lab2monitorRgb (labView, readyImg);
|
||||
} else {
|
||||
readyImg = ipf.lab2rgb(labView, 0, 0, fw, fh, params.icm);
|
||||
readyImg = ipf.lab2rgb(labView, 0, 0, fw, fh, params.icm, false);
|
||||
}
|
||||
delete labView;
|
||||
delete baseImg;
|
||||
|
Reference in New Issue
Block a user