Applying auto settings with a lua script
The documentation for applyDevelopSettings implies that there is a way to request auto settings, but it does not say what that is.
I tried passing an empty table for settings, and also a table of
{
['AutoBrightness'] = true,
['AutoContrast'] = true,
['AutoExposure'] = true,
['AutoHighlight'] = true,
['AutoShadows'] = true,
}
for convenience, here is the documentation:
photo:applyDevelopSettings( settings, optHistoryName, optFlattenAutoNow )
apply develop settings to an image.
Parameters
1. settings (table) table of settings to be applied.
2. optHistoryName (optional, string) name of the history step.
3. optFlattenAutoNow (optional, boolean) True to resolve Auto settings synchronously within the context of this API call.
