With Smart Objects,You can scale, rotate, skew, distort, perspective transform a layer, but warp!
if you replace the contents, the warp can’t be successed.
截屏2021-11-11 下午12.11.19.jpg (187.1 KB)
但奇怪的是智能对象的warp操作信息并没有丢失,它只是因为置换进去的图片格式错误,而无法正确应用!
如果这时候你在photoshop中打开这个编辑好的psd文件,再去手动替换一下智能对象的内容,他是可以无损置换到另一张图片上去的!
我的代码是:
ByteArrayOutputStream stream = new ByteArrayOutputStream();
new_innerImage.save(stream); //栅格化图层innerImage存入流stream中
smartObjectLayer.setContents(stream.toByteArray()); //流stream转数组,然后设置为智能对象的内容
Hello,
You are right. Aspose.PSD hasn’t support rendering of warp transformations yet, but it doesn’t damage data. We planned warp transformation in 22.03, you can track this issue by the following id: PSDNET-1030. Support Warp Transformation in Smart Object
Thank you for your feedback, we will do everything possible to implement this feature faster.
Automatic translate:
你好,
你是对的。 Aspose.PSD 尚不支持warp 变换的渲染,但它不会损坏数据。我们计划在 22.03 中进行扭曲转换,您可以通过以下 ID 跟踪此问题:PSDNET-1030。支持智能对象中的扭曲变换
感谢您的反馈,我们将尽一切可能更快地实现此功能。
thanks a lot!
hope the good news
Hey, every time it says " follow the id PSDNET-XXX", is there an actual web page with these items, or is this kind of like a marker and we just keep coming back to this forum, searching for “PSDNET-1030” and the update is in the forum posts?
@VasilyHall there is no direct way to interact with our issue tracking system. But this forum has the automatic notification system for the issues, so the topic creator will receive the notification. I’m not sure if you will receive notification. You can try to subscribe to this topic.
Also, you can find the fixed issues in the release notes Release Notes - 2022|Documentation.
And you are welcome to ask the status of the issues in any time. I can confirm that we have started the work on the warp transformation already. Hope it’ll be released soon.