0

I can't figure out how to edit a text layer from a PSD-file on Ubuntu using python. psd-tools and pytopsd don't seem to be able to do this job. As far as I can see there is no possibility to do this without having Photoshop installed on the same OS. I hope someone can prove me wrong.

The solution mentioned in Editing Photoshop PSD text layers programmatically relies on the Photoshop COM Interface which is clearly not the solution I am looking for.

Gaetir
  • 1
  • 1

1 Answers1

0

Photoshop COM is proprietary and not available under Linux. You should install GIMP (if not present in your linux distro already) and use its command line instead. The GIMP-python library can also fit your needs, check https://www.gimp.org/docs/python/

alec_djinn
  • 10,104
  • 8
  • 46
  • 71
  • Unfortunately he can't use GIMP as it reads PSD text layers as rendered bitmaps therefore it discards any text information! – wizofe Jul 15 '19 at 00:35