Solving issue #3506 (bugfix from mmmtok)
This commit is contained in:
@@ -144,7 +144,6 @@ Image8* ImProcFunctions::lab2rgb (LabImage* lab, int cx, int cy, int cw, int ch,
|
||||
|
||||
Image8* image = new Image8 (cw, ch);
|
||||
Glib::ustring profile;
|
||||
cmsHPROFILE oprof = iccStore->getProfile (profile);
|
||||
|
||||
bool standard_gamma;
|
||||
|
||||
@@ -159,6 +158,8 @@ Image8* ImProcFunctions::lab2rgb (LabImage* lab, int cx, int cy, int cw, int ch,
|
||||
standard_gamma = false;
|
||||
}
|
||||
|
||||
cmsHPROFILE oprof = iccStore->getProfile (profile);
|
||||
|
||||
if (oprof) {
|
||||
cmsHPROFILE oprofG = oprof;
|
||||
|
||||
|
Reference in New Issue
Block a user