Rize S. answered 03/23/23
Senior IT Certified Trainer, IT Developer & DBA Administrator
Yes, it is possible to access an Adobe Lightroom catalog from outside with C# using the Lightroom SDK (Software Development Kit). The SDK allows you to interact with the Lightroom application and catalog, including accessing and modifying metadata, such as keywords.
To get started, you will need to download and install the Lightroom SDK from Adobe's website. Then, you can use the SDK's C# API to write your application code. The SDK provides a set of interfaces and classes that you can use to interact with Lightroom, such as the "LrPhoto" and "LrKeywordTag" classes.
Here are the basic steps you could take to add keywords to an image in Lightroom using C#:
- Connect to the Lightroom catalog using the SDK's "LrCatalog" class.
- Get the photo you want to modify using the "LrCatalog.GetPhotos()" method.
- Modify the photo's metadata, including adding keywords, using the "LrPhoto" class.
- Save the changes to the catalog using the "LrCatalog.SaveMetadata()" method.
There are many resources available online for learning how to use the Lightroom SDK with C#, including tutorials, documentation, and community forums.