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

Free Support Forum - aspose.com

Aspose.PSD for java Smart layer replacement feature

The smart layer replacement function of Aspose.PSD for java, the effect currently achieved is different from what I expected.

Picture 1 is the effect made with Aspose.PSD, and picture 2 is the effect of using the PS tool to cut out the image. It is the picture cut out according to this dotted line. I hope to achieve the effect on picture 2.
picture 1.jpg (226.2 KB)
picture 2.jpg (233.1 KB)

How should I modify my code to achieve the effect I want, I hope to get a reply, thank you。
代码.png (29.6 KB)

@zou_yw could you please clarify the requirements. Aspose.PSD doesn’t support ability to select regions, but we have this task in our plans. If it is what you need, I can add bind feature to this request and you will be notified when it’s ready. Also, until this feature is done, you can write code to make the selection by yourself.

1 Like