![export from darktable export from darktable](https://pixls-discuss.s3.dualstack.us-east-1.amazonaws.com/optimized/3X/9/c/9c6075a4435e847df961623941f6dbc7a63adb43_2_1024x576.png)
To share your images, you’ll need to export them, and the edits you applied will be included. Instead, the editing data is recorded in darktable’s database and an XMP file if the preference default settings are left unchanged. by a shortcut key press, but it would be much more limited. It should be noted that edits to your image are not saved directly to the image file. Another method would be to call an external program such as imagemagick from Lua after export, that resizes the image. Images are exported from the lighttable view, using the export selected dialog in the right panel (Section 2.3.14, Export selected).
#Export from darktable code
this video of Harry Durgin explaining such a plugin which is available from the scripts github (it could serve as code example if you decide to go this route). With this method, complex things are possible, see e.g. The first one would be to add a new storage backend which would be visible in the export module as a new target.
![export from darktable export from darktable](https://i.stack.imgur.com/vjZxM.png)
While not everything within darktable is accessible via scripting, I can imagine several ways of solving this issue with Lua, but I am not a programmer and cannot solve this issue in a reasonable amount of time. The nice thing about it is that darktable has not to be recompiled to make use of new scripts, what would be needed if darktables code itself is touched.
![export from darktable export from darktable](https://www.bettertechtips.com/wp-content/uploads/2018/04/target-location-darktable.jpg)
Then, to export with multiple sizes, select one preset, export. Click on the three-dash icon and select 'store new preset'. Adding EXIF data to export in Darktable similar to Watermark. Hardcode the size in the file name field. That way, it is possible to write “plugin” like extensions. Otherwise, a semi-automatic way to do this is to create one preset for each size in the 'export selected' module in the lighttable: Set the size in the 'global options' part. It is possible to extend darktable due to its integrated Lua scripting language. I'd like to extend a bit on the other answer.