We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert PSD image

Hello,

We are trying to convert an image with an extension of PSD but we get the below error.

class com.aspose.imaging.coreexceptions.ImageLoadException: Cannot open an image. The image file format may be not supported at the moment.

But based on the below link from your site PSD is supported, Please advise.

Hello, @aabuhijleh!
Thank you for your interest in Aspose.Imaging.
As noticed on the given web page, Aspose.Imaging only provides saving to PSD ability.
For loading, you should use Aspose.PSD library.

What is the different between saving and loading?

Thanks

Also, can you please provide me an example of converting a PSD file to a PDF?

Thanks

The difference is simple.
Most image formats can be read by Aspose.Images and can also be exported to them.
But some of them are partially supported, for example, PSD is a format that can only be exported to.

Also, can you please provide me an example of converting a PSD file to a PDF?

Using Aspose.PSD library you can convert PSD to PDF this way

 using (Image image = Image.Load(sourceFileName))
 {
        ImageOptionsBase options = new PdfOptions();
        image.Save(outFileName, options);
 }

More information here