We are working with .psd files that contain Smart Object layers with warp mesh deformation (non-linear mesh warp). We would like to automate image replacement inside these Smart Objects, and ensure that the existing warp deformation remains applied to the new content.
We are considering two possible workflows:
Case 1: Linked Smart Object
- The Smart Object in the .psd is linked to an external .psb file.
- We programmatically open the .psb, replace its content, and save it.
- As a result, the .psd automatically reflects the updated content from the .psb.
- Our expectation: the existing warp mesh in the .psd should still apply to the new content from the .psb.
- We then export the final .psd as .png.
Case 2: Embedded Smart Object
- The Smart Object is embedded directly inside the .psd.
- We programmatically update or replace its content inside the .psd.
- Again, our expectation is that the existing warp deformation is preserved and applied to the new content.
- The final .psd is exported as .png.
Our questions:
- Are these two workflows currently possible using the existing Aspose.PSD for .NET functionality?
- If yes, could you please share a general approach or code sample showing how to:
- Replace content inside a Smart Object;
- Ensure the warp mesh deformation remains intact;
- Export the final .psd with deformation applied.
- If not currently possible, would you recommend submitting a feature request or escalating to Paid Support?
We’re happy to share sample PSD/PSB files if that helps illustrate the case.
Thank you for your guidance and support!