SmartObjects-functionality / limitations

What is actually the limitations here?
Just briefly tested it and I cannot get the warp-transformation to work.

Also it seems that the image that we are trying to replace the smartobject with needs to be exactly the same size as the original? Is there a way to automatically scale it or do we need to do that before replacing the Smartobject?

@ot2

Could you please provide more details about the specific limitations you are encountering with SmartObjects and the warp-transformation? Additionally, what image format are you using for the replacement?

Replacing the SmartObject with an jpg-image

@ot2 please check the following article:

AllowWarpRepaint should be set to True.

using (var psdImage = (PsdImage)Image.Load(sourceFile, new PsdLoadOptions() { AllowWarpRepaint = true, LoadEffectsResource = true }))
{
}

If this doesn’t help please provide input file, minimum required code to reproduce issue and the environment parameters.

temp.zip (1.6 MB)

Attached Photoshop-files that used for testing and variable image + simple VB.NET-code to reproduce

@ot2
We need a time to check this. Please clarify the Aspose.PSD version and .NET version which is used.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PSDNET-2395

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Aspose.PSD 25.2.0 and now 25.3.0
.NET Framework 4.8.1
x64

@ot2 I’ve updated the issue. I’ll write you back after investigation