如何使用一些代码向 tiff 图像添加专色通道?
我需要向 tiff 图像添加一个附加通道(使用自定义名称,而不是 alpha)。 我很惊讶这有多困难,因为 tiff-secification 说可以添加自定义通道,并且 PhotoShop 能够做到这一点。 现在我正在寻找一种自动化的方法......
有谁知道现在是否可以使用任何代码或任何框架?
像这样在photoshop中: https://i.sstatic.net/xtOzb.png
I need to add an additional channel (with a custom name, not alpha) to a tiff image.
I'm surprised how difficult this is, because the tiff-secification says it is possible to add custom channels and PhotoShop is able to do it.
Now I'm looking for a way to automate it....
Does anyone know whether it is now possible with any code or any framework?
like this in photoshop: https://i.sstatic.net/xtOzb.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在网上找到了一些 Photoshop JSX 代码并将其拼凑在一起。我不是编码员,但它对我有用。从 PS 内部作为脚本运行。它将选择所有像素并使选区中的专色通道变为白色。
I found some Photoshop JSX code on the web and cobbled it together. I am no coder but it works for me. Run as a script from inside PS. It will select all pixels and make a spot channel white from the selection.