RawTherapee: Add -s cli param to use existing sidecar files #1267

see https://rawpedia.rawtherapee.com/Command-Line_Options
This commit is contained in:
Michael Mayer 2021-05-23 16:02:39 +02:00
parent 10b2ac3684
commit b1856b9d45

View file

@ -204,7 +204,7 @@ func (c *Convert) JpegConvertCommand(f *MediaFile, jpegName string, xmpName stri
jpegQuality := fmt.Sprintf("-j%d", c.conf.JpegQuality())
profile := filepath.Join(conf.AssetsPath(), "profiles", "raw.pp3")
args := []string{"-o", jpegName, "-p", profile, "-d", jpegQuality, "-js3", "-b8", "-c", f.FileName()}
args := []string{"-o", jpegName, "-p", profile, "-s", "-d", jpegQuality, "-js3", "-b8", "-c", f.FileName()}
result = exec.Command(c.conf.RawtherapeeBin(), args...)
} else {