Class LrDevelopPreset
Access the functions and properties from the object. Retrieve the objects for all the presets at the root of the hierarchy by calling LrApplication.developPresetFolders().
Retrieve objects from the parent folder using LrDevelopPresetFolder.getDevelopPresets().Summary
Functions
- preset:getFile()
-
Retrieves the file path of this preset.
First supported in version 3.0 of the Lightroom SDK.
Return value
(string) The path. - preset:getName()
-
Retrieves the name of this preset.
First supported in version 3.0 of the Lightroom SDK.
Return value
(string) The name. - preset:getParent()
-
Retrieves the parent folder of this preset.
First supported in version 3.0 of the Lightroom SDK.
Return value
(LrDevelopPresetFolder
) The parent preset folder object. - preset:getSetting()
-
Retrieves the settings for this preset.
First supported in version 3.0 of the Lightroom SDK.
WARNING:The develop settings APIs are experimental. The contents of the settings table are not guaranteed to remain compatible in future versions of Lightroom.The definitive list is the one shown in the UI.
Return value
(table) The develop settings table. Contains these members:- AutoBrightness: (Boolean)
- AutoContrast: (Boolean)
- AutoExposure: (Boolean)
- AutoGrayscaleWeights: (Boolean)
- AutoShadows: (Boolean)
- AutoTonality: (Boolean)
- BlueHue: (number)
- BlueSaturation: (number)
- Brightness: (number)
- ChromaticAberrationB: (number)
- ChromaticAberrationR: (number)
- ColorNoiseReduction: (number)
- Contrast: (number)
- ConvertToGrayscale: (Boolean)
- Dehaze: (number)
- Exposure: (number)
- FillLight: (number)
- GrainAmount: (number)
- GrainFrequency: (number)
- GrainSize: (number)
- GrayMixerBlues: (number)
- GrayMixerCyans: (number)
- GrayMixerGreens: (number)
- GrayMixerMagentas: (number)
- GrayMixerReds: (number)
- GrayMixerYellows: (number)
- GreenHue: (number)
- GreenSaturation: (number)
- HighlightRecovery: (number)
- HueAdjustmentBlues: (number)
- HueAdjustmentCyans: (number)
- HueAdjustmentGreens: (number)
- HueAdjustmentMagenhas: (number)
- HueAdjustmentReds: (number)
- HueAdjustmentYellows: (number)
- LuminanceAdjustmentBlues: (number)
- LuminanceAdjustmentCyans: (number)
- LuminanceAdjustmentGreens: (number)
- LuminanceAdjustmentMagentas: (number)
- LuminanceAdjustmentReds: (number)
- LuminanceAdjustmentYellows: (number)
- LuminanceSmoothing: (number)
- RedHue: (number)
- RedSaturation: (number)
- Saturation: (number)
- SaturationAdjustmentBlues: (number)
- SaturationAdjustmentCyans: (number)
- SaturationAdjustmentGreens: (number)
- SaturationAdjustmentMagentas: (number)
- SaturationAdjustmentReds: (number)
- SaturationAdjustmentYellows: (number)
- ShadowTint: (number)
- Shadows: (number)
- Sharpness: (number)
- SplitToningHighlightHue: (number)
- SplitToningHighlightSaturation: (number)
- SplitToningShadowHue: (number)
- SplitToningShadowSaturation: (number)
- Temperature: (number)
- Tint: (number)
- ToneCurve: (table)
- ToneDarks: (number)
- ToneHighlightSplit: (number)
- ToneHighlights: (number)
- ToneLights: (number)
- ToneMidtoneSplit: (number)
- ToneShadowSplit: (number)
- ToneShadows: (number)
- Vibrance: (number)
- VignetteAmount: (number)
- VignetteMidpoint: (number)
- WhiteBalance: (string)
- preset:getUuid()
-
Retrieves the unique identifier of this preset.
First supported in version 3.0 of the Lightroom SDK.
Return value
(string) The unique ID. - preset:type()
-
Reports the type of this object.
First supported in version 4.1 of the Lightroom SDK.
Return value
(string) 'LrDevelopPreset'.