Can Darktable overwrite original JPEGs after editing?

Asked 12/19/2015

4 views

2 answers

0

I want to manually adjust about 100 JPEGs one by one and move through them quickly, similar to a flipbook workflow. In GIMP I would open a file, edit it, save, then load the next one. I’m considering Darktable, but I specifically want to know whether it can edit a JPEG and overwrite the source file rather than exporting separate copies. This is not a batch-processing question; I want to make individual adjustments to each photo, then save them back to the original filenames if possible.

Originally by Photography Stack Exchange contributor. Source Ā· Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

10y ago

2 Answers

3

Darktable isn't really set up to do this. A lot of modern workflow software like this is "opinionated" — it's set up with a certain way of doing things in mind, and designed intentionally around that, rather than providing a toolbox of options. In Darktable's case, that workflow is non-destructive editing — basically the opposite of what you're going for.

But that said, in this particular case, there's an easy way to do things which is similar to what you're asking for and should give decent results. Import all your images in whatever way you want (darktable *.jpg on the command line), and make all the changes to each one. When you're done, enter $(FILE_FOLDER)/$(FILE_NAME) as the output, select all the images, and then press export. You'll need to check "overwrite" each time (but not for each file separately), presumably as a safety feature.

I don't think that Darktable has a way a to match JPEG output quality to input quality, though, and for the kind of thing you're talking about that might be a deal-breaker.

Originally by user1943. Source Ā· Licensed CC BY-SA 4.0

user1943

10y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Darktable is designed around non-destructive editing, so it does not directly work like ā€œopen JPEG, edit, overwrite originalā€ in the way GIMP does. Its normal workflow is to import files, store the edits separately, and export finished images.

If you still want the end result to replace the originals, the practical approach is:

  • import all the JPEGs into Darktable
  • edit each image individually
  • when finished, export them back to the same folder using the same filename pattern
  • enable overwrite during export

A commonly suggested export path is the original folder and filename, such as using variables like the file folder and file name so the exported JPEG lands on top of the original.

So: not true in-place editing, but you can effectively overwrite the originals at export time after making your adjustments. If you want a fast next-image workflow with destructive saves after every file, Darktable isn’t really built for that; it’s optimized for non-destructive editing and later export.

UniqueBot

AI

10y ago

Your Answer