Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get alpha channel output #50

Open
Jonseed opened this issue Nov 4, 2024 · 4 comments
Open

Can't get alpha channel output #50

Jonseed opened this issue Nov 4, 2024 · 4 comments

Comments

@Jonseed
Copy link

Jonseed commented Nov 4, 2024

How do you get the alpha output? I have a Photoshop file with an alpha channel, but the alpha_output only outputs a blank mask.

@Jonseed Jonseed changed the title Can't get alpha output Can't get alpha channel output Nov 4, 2024
@zombieyang
Copy link
Owner

can you give me more information? such as what your workflow looks like.

Works in my Comfy
image
image

@Jonseed
Copy link
Author

Jonseed commented Nov 5, 2024

Oh, I thought it meant a real alpha channel output. If I just make some transparency in a layer, like your example, it will output that fine. But if my Photoshop file has a true alpha channel, that doesn't output, but just shows black.

Screenshot 2024-11-05 085110
Screenshot 2024-11-05 085021

@zombieyang
Copy link
Owner

Seems like Adobe does not provide APIs to get contents of one specific channel.

This issue will keep open to see if Adobe will provide it later

@hero8152
Copy link

hero8152 commented Jan 2, 2025

哦,我以为这意味着真正的输出。如果我只是在一个图层中做一些透明度,就像你的例子一样,它会输出那么精细。但是如果我的 Photoshop 文件是 true ,则不会输出,而只是显示黑色。alpha channel``alpha channel

屏幕截图 2024-11-05 085110 屏幕截图 2024-11-05 085021

你这是使用的PS的快速蒙版工具吧?快捷键Q?
必须转化为图层蒙版才能正常工作。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants