rawtherapee-cli: use jpeg compression 92 instead of 0 when called with -j
This commit is contained in:
@@ -424,6 +424,9 @@ int processLineParams ( int argc, char **argv )
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
outputType = "jpg";
|
outputType = "jpg";
|
||||||
|
if(currParam.size() < 3) {
|
||||||
|
compression = 92;
|
||||||
|
} else {
|
||||||
compression = atoi (currParam.substr (2).c_str());
|
compression = atoi (currParam.substr (2).c_str());
|
||||||
|
|
||||||
if (compression < 0 || compression > 100) {
|
if (compression < 0 || compression > 100) {
|
||||||
@@ -432,6 +435,7 @@ int processLineParams ( int argc, char **argv )
|
|||||||
return -3;
|
return -3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user