Agamnentzar / ag-psd

Javascript library for reading and writing PSD files
Other
496 stars 66 forks source link

Automating the Saving Process for Modified PSD Files #160

Closed kknono closed 6 months ago

kknono commented 10 months ago

Hi, After modifying some text in a PSD file, I save it as a new PSD file. However, it must be opened in Photoshop to be correctly saved. Is there a way to automate this saving process?

Agamnentzar commented 10 months ago

I think you can just update the canvas and not set invalidateTextLayers to true in order to not have to open the file in Photoshop. Unfortunately you'll have to figure out how to draw the text correctly.