如何为 Adob​​e Lightroom 重写 Adob​​e Photoshop 插件?

发布于 2024-07-07 20:58:52 字数 134 浏览 18 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

抹茶夏天i‖ 2024-07-14 20:58:52

不..lightroom插件是用脚本语言lua编写的,photoshop插件是用C++编写的。

No.. lightroom plugins are written in the scripting language lua, photoshop plugins are written in C++.

入怼 2024-07-14 20:58:52

正如 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.

贵在坚持 2024-07-14 20:58:52

正如 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...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文