开发者

Python read multilayer PSD?

开发者 https://www.devze.com 2023-03-06 05:33 出处:网络
Can you read a multilayered PSD im开发者_运维技巧age with Python? Ive tried PIL, but it only seems to access the first layer. Another problem is the result is black if the layer was set to \"hidden\"

Can you read a multilayered PSD im开发者_运维技巧age with Python? Ive tried PIL, but it only seems to access the first layer. Another problem is the result is black if the layer was set to "hidden" in the program.


psd-tools will allow you to write scripts that read PSD files. I'm using it currently for a couple of things, and it's working well so far.

https://github.com/kmike/psd-tools


Have you tried this way? http://techarttiki.blogspot.com/2008/08/photoshop-scripting-with-python.html

It uses Python Win32 extension.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号