PSB to PDF ImageSaveException: Image saving failed

When trying to convert this psb to pdf I’m getting

Aspose.PSD.CoreExceptions.ImageSaveException: Image saving failed.
 ---> Aspose.PSD.CoreExceptions.ImageSaveException: Image export failed.

https://we.tl/t-MQQbV5awRA

image.png (42.3 KB)

@nielsbosma I can confirm issue.

I created task PSDNET-1320. Can not export extremely big PSB files. You can track this task using our release notes Aspose.PSD for .NET 22.10 - Release Notes|Documentation also, you will be notified when the task will be implemented.

To check if this task is resolved we will use the following code:

 string sourceFile = @"hf-mim-liman-han-guc-art-kuvvet.psb";
 using (var image = (PsdImage)Image.Load(sourceFile, new PsdLoadOptions() { ReadOnlyMode = true }))
 {
    string psdExportPath = @"hf-mim-liman-han-guc-art-kuvvet.png";
     image.Save(psdExportPath, new PngOptions() { ColorType =  PngColorType.TruecolorWithAlpha });
 }

Please write if the code you are using has differences.

The issues you have found earlier (filed as PSDNET-1320) have been fixed in this update. This message was posted using Bugs notification tool by Yaroslav.Lisovskyi