Editing Photoshop PSD text layers programmatically

后端 未结 6 962
孤街浪徒
孤街浪徒 2020-12-08 09:02

I have a multi-layered PSD, with one specific layer being non-rasterized text. I\'m trying to figure out a way I can, from a bash/perl/python/whatever-else program:

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 09:06

    If you don't like to use the officially supported AppleScript, JavaScript, or VBScript, then there is also the possibility to do it in Python. This is explained in the article Photoshop scripting with Python, which relies on Photoshop's COM interface.

    I have not tried it, so in case it does not work for you: If your text is preserved after conversion to SVG then you can simply replace it by whatever tool you like. Afterwards, convert it to PNG (eg. by inkscape --export-png=...).

提交回复
热议问题