如何为 Adobe Lightroom 重写 Adobe Photoshop 插件?
Adobe 的 Photoshop 和 Lightroom 插件架构是否有任何关联? 如果我有适用于 PS 3.0-CS3 以及 PS Elements 6.0 的插件源代码,我可以直接在 Lightroom 中使用它吗? 如果不是,我需要修改什么?
Are Adobe's plugin architectures for Photoshop and Lightroom related in any way? If I have source code for a plugin, that works with PS 3.0-CS3 as well as PS Elements 6.0 can I use it with Lightroom directly? If not, what would I have to modify?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不..lightroom插件是用脚本语言lua编写的,photoshop插件是用C++编写的。
No.. lightroom plugins are written in the scripting language lua, photoshop plugins are written in C++.
正如 kasperjj 所指出的,Lightroom 插件是用 Lua 编写的,因此没有直接的方法将某些内容从 Photoshop 转换到 Lightroom。 此外,根据 Adobe Lightroom 开发人员中心,当前版本中唯一可扩展的功能SDK 包括导出功能、元数据和 Web 引擎功能。
As noted by kasperjj, the Lightroom plugins are written in Lua so there is not a direct way to convert something from Photoshop over to Lightroom. Additionally, as per the Adobe Lightroom Developer Center, the only features that are extendable in the current SDK are the export functionality, metadata, and web engine functionality.
正如 Rob 所指出的,Lightroom SDK 不公开任何允许操作图像文件本身的接口。 部分原因是 Lightroom 是一个非破坏性编辑器。 在其“修改照片”模块中所做的任何编辑都不会应用于原始图像文件; 它们应用于导出、打印图像或在网络图库中使用图像时生成的文件。
也就是说,有一些导出插件的示例可以在 Lightroom 完成调整后操作图像。 原则上,可以创建一个加载 Photoshop 插件并在 Lightroom 导出期间应用它的主机应用程序。 甚至可以使用 Photoshop 本身作为主机应用程序......
As pointed out by Rob, the Lightroom SDK does not expose any interface that allows manipulations of the image files themselves. Partly this is because Lightroom is a non-destructive editor. None of the edits made in its Develop module are applied to the original image file; they are applied to the file generated when the image is exported, printed, or used in a web gallery.
That said, there are examples of export plugins that manipulate the image after Lightroom has finished applying its adjustments. In principle, it would be possible to create a host application that loaded a Photoshop plugin and applied it during Lightroom export. It might even be possible to use Photoshop itself as that host application...