P: Inconsistent results when copying white balance between raws & JPEGs via Sync, preset, & the SDK
LR gives inconsistent results when copying white-balance settings between JPEGs and raws, depending on whether Copy/Sync, presets, or the SDK is used -- each method gives different results. They should either give the same results, or the white balance shouldn't be allowed to be copied between raws and non-raws.
1. Download this catalog folder:
2. Install the two scripts in the folder, "set-temp-tint.lua" and "set-incremental-temp-tint.lua" in the Lightroom Scripts folder.
3. Open the catalog.
4. Select wb.jpg in Develop and set Temp = 24, Tint = 29.
5. Make a preset JPEG Temp/Tint with just White Balance selected.
6. Select both photos with wb.jpg most selected and do Sync Settings with White Balance selected.
7. Open wb.arw in Develop and observe Temp = 5000, Tint = 21.
8. Reset wb.arw and apply the preset JPEG Temp/Tint. Observe that Temp = 5450, Tint = 50, different than the result of Sync Settings.
9. Reset wb.arw and run the script "set-incremental-temp-tint.lua" (containing the same Develop settings as the preset JPEG Temp/Tint) and observe that Temp = 3850, Tint = 21 (unchanged), though WB has been changed to Custom.
Thus: three different values for the raw's Temp/Tint, depending on whether white balance is Synced from a JPEG, applied with a preset, or set by the SDK. Copying Temp/Tint the other direction:
10. Select wb.raw in Develop and set Temp = 5000, Tint = 21.
11. Make a preset Raw Temp/Tint with just White Balance selected.
12. Select both photos with wb.arw most selected and do Sync Settings with White Balance selected.
13. Open wb.jpg in Develop and observe Temp = 24, Tint = 30.
14. Reset wb.jpg and apply the preset Raw Temp/Tint. Observe that Temp = 19, Tint = 0, different than the result of Sync Settings.
15. Reset wb.jpg and run the script "set-temp-tint.lua" (containing the same Develop settings as the preset Raw Temp/Tint) and observe that Temp = 0, Tint = 14.
Thus: three different values for the JPEG's Temp/Tint, depending on whether white balance is Synced from a raw, applied with a preset, or set by the SDK.