Hi
Everytime i’m trying to save the following file i get the following error: Aspose.PSD.CoreExceptions.ImageSaveException: Image saving failed “System.ArgumentNullException: Value cannot be null. (Parameter ‘key’)”
Here is the file i’m having issues with:
sophos-retargeting-funnel-firewall-web-banners (1).zip (6.2 MB)
The error appears when i’m running the save method in the following structure of code:
using (var image = Image.Load(“sophos-retargeting-funnel-firewall-web-banners (1).psd”))
{
if (image is PsdImage psdImage)
{
var imageOptions = new PsdOptions(psdImage);
psdImage.Save(“Target.psd”, imageOptions);
}
}
I’m on windows in a .net8 project.
Can you please help me with this?
Thanks!