After deleting the layers and introducing a new smartobject and saving the file, I cannot open the saved PSD file using Photoshop.
// 加载 PSD 文件
String materialPath = “ZNDX.psd”;
PsdImage materImage = (PsdImage) Image.…...PsdImage materImage = (PsdImage) Image.load(materialPath); // 新智能对象文件路径...Make sure to pass the current image instance to it. Layer Management...