Issue with Aspose.PSD for .NET 25.4.0 – Image Loading Exception

Hello,
I recently upgraded to Aspose.PSD for .NET 25.4.0 and am encountering exceptions when processing certain files.

Specifically, the following line of code is throwing an exception:

using var image = (AiImage)Aspose.PSD.Image.Load(sourceFileStream);

The exception details are as follows:

Aspose.PSD.CoreExceptions.ImageLoadException: 'Image loading failed.'

Inner Exception
NullReferenceException: Object reference not set to an instance of an object.

I have attached the images that are triggering this issue.
sample_ai_files.zip (2.6 MB)

Could you please investigate this issue and provide an update at your earliest convenience?

Best regards,
Vinayaka

@VinayakaP619
I can confirm bugs.

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-2477,PSDNET-2478

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.

Hello,
@Dmitriy.Sorokin I’m also getting the same error, could you please let me know when it’s likely to be fixed?

@Milijanovic00 could you please share input file, also, please clarify what’s version of Aspose.PSD do you use, please try 25.6, because 25.4 had the issue with some operations.

Hi @Dmitriy.Sorokin, I tried this file with Aspose.PSD versions 25.4 and 25.6, but received the same Image Loading Exception in both cases and I’m sending you the input file.
379569-PBWZM2-461 1.zip (393.1 KB)

@VinayakaP619
I’ve added additional AI file example and 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-2496

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.

Hello @Dmitriy.Sorokin,
Thank you for the update and for opening the ticket PSDNET-2477, PSDNET-2478 and PSDNET-2496.

I would like to take a moment to share some feedback regarding the overall support experience. As a customer who has already paid for a license, it’s disheartening to repeatedly see prompts suggesting the need to purchase additional paid support—especially when the issue in question is a bug or limitation within the product itself.

From a user’s perspective, this feels a bit like paying for a service or tool, and then being asked to pay again when that service doesn’t work as expected. It’s as if I’m being charged extra to clean up a mess on a table I already paid for. I understand that there are distinctions between free and paid support, but when a bug impacts product functionality, it would be reassuring to see a more proactive approach to resolution, regardless of the support tier.

I hope you’ll take this feedback constructively, as it’s meant to highlight a customer experience concern rather than criticize. I genuinely appreciate the team’s work and hope we can continue to improve the overall experience for all users.

@VinayakaP619 thank you for your feedback, tasks of supporting the AI format are quite complex, we improve support every release, but Adobe Products are at the cutting edge of rendering technology. Aspose.PSD Team tries to bring most requested PSD and AI features to the customers’ back-end. All Aspose implementations are the company’s own developements, we don’t just wrap other solutions, so the final implementation can differ from the original.

Your feature requests are checked and the developers work on the fixes and improvements. Before your requests we didn’t face these AI features. The Team will try to implement them as soon as possible because they are quite important, but Aspose also has the service for the customers who needed features faster, this is our policy to offer these services on the forum.

Hello Team,

We recently faced issues converting .AI files to image formats using Aspose.PSD, as detailed in these threads:

While we appreciate your acknowledgment and ongoing improvements, it was never suggested that we try Aspose.PDF instead. We only discovered this through your online demo, where .AI conversion worked better using Aspose.PDF. After trying it ourselves, we confirmed improved compatibility and output quality.

Could you clarify:

  • Why wasn’t Aspose.PDF recommended earlier as an alternative?
  • When should one prefer Aspose.PSD vs Aspose.PDF for .AI files?

This clarification could help others facing similar issues.

Thank you

@VinayakaP619 Aspose.PDF doesn’t support legacy AI format. AI and PDF Files have the quite similar but not the equal content. Rendering of PSD and AI Files have the similarities, so in the long perspective, Aspose.PSD will support more Adobe-specific rendering funtionalities, at this moment the big part of Aspose.PSD team works on it. Aspose.PSD is the instrument not only for reading, but also for editing and for the integration between PSD and AI Format.

If you just need the fast rendering of AI Files without integration with PSD Format, the Aspose.PDF will suit your needs. If you are interesting in the deep integration and processing of AI format with all primitives, shadings, effects and other Adobe-Specific functions, the Aspose.PSD will be preferable.

Aspose.PDF is older than Aspose.PSD and it’s the one of the Top Aspose Products, but Aspose.PSD team is aimed to deeper integration and solves more complex tasks of AI Format, but the resources of Aspose.PSD team is less than in Aspose.PDF, so for the common export tasks it’s still can be better.