this is my code:
LinkDataSource contentsSource = layer.getContentsSource();
contentsSource.setFileType(fileType);
layer.setContents(imageBytes);
layer.updateModifiedContent();
psd file SmartObjectLayer exists Pupp…...Load("path/to/your/file.psd")) { foreach...smartObjectLayer.ReplaceContents("path/to/new/content.jpg", new ResolutionSetting(300...