![]() The string field tells the lua engine that the preference is a string. These fields are reused when we read the value of the preference. If not ("scp ".filename." ".ĭarktable.print_error("scp failed for ".tostring(image))ĭ will add a new preference to darktable’s preferences menu, scp_export and export_path allow us to uniquely identify our preference. Can include user and hostname","")ĭarktable.register_storage("scp_export","Export via scp",įunction( storage, image, format, filename, darktable = require "darktable"ĭ("scp_export","export_path", A new storage type will appear in darktable’s UI that will export images to a remote target via the copy mechanism in ssh. In this next example we will use lua to export via scp. If you are able to upload an image to a service via the command line then you can use lua to integrate this into darktable’s user interface. ![]() Let’s look now at how to use lua to easily export images to an online service. So far we have learned to use lua to adapt darktable to our particular workflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |