We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Function of consulting

Hello, I am trying out Aspose PSD for Java, and I found two problems, please help to answer them. 1. How does PNG replace a specified layer? Question two: How to modify the text? Looking forward to your reply

@chenj

  1. To replace layer please study this material(.net version): https://docs.aspose.com/psd/net/creating-opening-and-saving-images/#load-image-as-layer-from-a-stream, and then remove layer that you want to replace.
  2. To update text layer please check this page (it’s for .net but it’s very similar to Java): https://docs.aspose.com/psd/net/working-with-text-layers/

Also, I created a task about updating of Java Documentation to help customers to use it:
You can follow this task by the id: PSDJAVA-398: Improve Java Documetnation with example of how to open image as a layer and how to edit text layer

Thank you very much

[

陈佳

chenj@evget.com

](https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=陈佳&uid=chenj%40evget.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=["chenj%40evget.com"])

---- Replied Message ----

From Dmitriy Sorokin via Free Support Forum - aspose.comforum@aspose.com
Date 9/21/2022 23:48
To chenj@evget.com
Subject [Free Support Forum - aspose.com] [Aspose.PSD Product Family] Function of consulting
DmitriySorokin
September 21

@chenj

  1. To replace layer please study this material(.net version): https://docs.aspose.com/psd/net/creating-opening-and-saving-images/#load-image-as-layer-from-a-stream, and then remove layer that you want to replace.
  2. To update text layer please check this page (it’s for .net but it’s very similar to Java): https://docs.aspose.com/psd/net/working-with-text-layers/

Also, I created a task about updating of Java Documentation to help customers to use it:
You can follow this task by the id: PSDJAVA-398: Improve Java Documetnation with example of how to open image as a layer and how to edit text layer