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)